Difference between revisions of "Web Element: Data"
Line 37: | Line 37: | ||
var options = { | var options = { | ||
title : 'COVID-19 Cases in Turkey', | title : 'COVID-19 Cases in Turkey', | ||
− | + | fontName: 'Old Standard TT', | |
+ | vAxis: { | ||
title: 'Cases', | title: 'Cases', | ||
− | // | + | // maxValue: '20000', |
+ | // scaleType: 'log', | ||
}, | }, | ||
hAxis: {title: 'Day'}, | hAxis: {title: 'Day'}, | ||
seriesType: 'bars', | seriesType: 'bars', | ||
series:{ | series:{ | ||
− | 0: {type: 'line', color: '#982F00', lineWidth: 3}, | + | 0: {type: 'line', |
+ | color: '#982F00', | ||
+ | lineWidth: 3, | ||
+ | // pointSize: 4, | ||
+ | }, | ||
1: {type: 'bars', color: 'black'},}, | 1: {type: 'bars', color: 'black'},}, | ||
− | // | + | // 'width':600, |
'height':400, | 'height':400, | ||
+ | // crosshair: { trigger: 'both', opacity: 0.5 }, | ||
+ | // trendlines: { 1: {} } // Draw a trendline for data series 1, | ||
}; | }; | ||
hkilter.com by H. K. Ilter is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
© 2020 H. K. Ilter