ALT Linux Bugzilla
– Attachment 11784 Details for
Bug 44163
Не отображает графики google
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Файл с графиками
pp.htm (text/html), 1.49 KB, created by
him
on 2022-10-31 13:28:02 MSK
(
hide
)
Description:
Файл с графиками
Filename:
MIME Type:
Creator:
him
Created:
2022-10-31 13:28:02 MSK
Size:
1.49 KB
patch
obsolete
><!DOCTYPE html> ><html> > <head> > <TITLE>ÐÑаÑики</TITLE> > <meta charset="utf-8"> > <meta http-equiv="refresh" content="900" /> > <script type="text/javascript" src="https://www.google.com/jsapi"></script> > <script type="text/javascript"> > google.load("visualization", "1", {packages:["corechart"]}); > google.setOnLoadCallback(drawChart); > function drawChart() { > > var data = google.visualization.arrayToDataTable([ > ['Os x', 'bb', 'pp', 'rr'], ['2022-09-26 13:03:46', 3122, 2830, 3216], ['2022-10-28 10:19:55', 3288, 3076, 3402], ['2022-10-28 12:03:01', 3288, 3076, 3402], ['2022-10-29 12:03:02', 3283, 2963, 3436], ['2022-10-30 12:03:01', 3283, 2964, 3453], ['2022-10-31 12:03:02', 3283, 3048, 3374] ]); > > var options = { > title: 'PP', > //curveType: 'function', > legend: { position: 'right' }, > //colors: ['red'], > hAxis: {title: 'Ðазвание оÑи по гоÑизонÑали', gridlines: {count: 2}}, > vAxis: {title: 'дол', gridlines: {count: 10}, minorGridlines: {count: 3}}, > > dataOpacity: 0.0, > //orientation: 'vertical' tooltip.trigger string 'focus' > //tooltip: {trigger: 'selection'} > > }; > > var chart = new google.visualization.LineChart(document.getElementById('chart_div_sut')); > chart.draw(data, options); > > } > </script> > </head> > <body> > <br> > <table> > <tr> > <td> > <div id="chart_div_sut" style="width: 1700px; height: 500px;"></div> > </td> > </tr> > </table> > </body> ></html>
<!DOCTYPE html> <html> <head> <TITLE>ÐÑаÑики</TITLE> <meta charset="utf-8"> <meta http-equiv="refresh" content="900" /> <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> google.load("visualization", "1", {packages:["corechart"]}); google.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['Os x', 'bb', 'pp', 'rr'], ['2022-09-26 13:03:46', 3122, 2830, 3216], ['2022-10-28 10:19:55', 3288, 3076, 3402], ['2022-10-28 12:03:01', 3288, 3076, 3402], ['2022-10-29 12:03:02', 3283, 2963, 3436], ['2022-10-30 12:03:01', 3283, 2964, 3453], ['2022-10-31 12:03:02', 3283, 3048, 3374] ]); var options = { title: 'PP', //curveType: 'function', legend: { position: 'right' }, //colors: ['red'], hAxis: {title: 'Ðазвание оÑи по гоÑизонÑали', gridlines: {count: 2}}, vAxis: {title: 'дол', gridlines: {count: 10}, minorGridlines: {count: 3}}, dataOpacity: 0.0, //orientation: 'vertical' tooltip.trigger string 'focus' //tooltip: {trigger: 'selection'} }; var chart = new google.visualization.LineChart(document.getElementById('chart_div_sut')); chart.draw(data, options); } </script> </head> <body> <br> <table> <tr> <td> <div id="chart_div_sut" style="width: 1700px; height: 500px;"></div> </td> </tr> </table> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 44163
: 11784 |
11787