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',
          vAxis: {
+
fontName: 'Old Standard TT',
 +
vAxis: {
 
           title: 'Cases',  
 
           title: 'Cases',  
//           maxValue: '20000'
+
//         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,
+
//       'width':600,
 
           'height':400,
 
           'height':400,
 +
//        crosshair: { trigger: 'both', opacity: 0.5 },
 +
//        trendlines: { 1: {} }    // Draw a trendline for data series 1,
 
           };
 
           };
  

Revision as of 10:47, 29 March 2020