On Tuesday, September 3, 2019 at 10:27:54 AM UTC-4, Daniel LaLiberte wrote:
>
> The problem could very well be in your drawchart function, so it would 
> help to see the relevant parts.  If you could reproduce the problem you are 
> seeing in jsfiddle, or similar, that would help make it very clear what is 
> happening.
>
>  The drawchart function is vanilla straight out of Line Chart example:
function drawChart() {
        var data = google.visualization.arrayToDataTable([
          ['Year', 'Sales', 'Expenses'],
          ['2004',  1000,      400],
          ['2005',  1170,      460],
          ['2006',  660,       1120],
          ['2007',  1030,      540]
        ]);

        var options = {
          title: 'Company Performance',
          curveType: 'function',
          legend: { position: 'bottom' }
        };

        var chart = new 
google.visualization.LineChart(document.getElementById('curve_chart'));

        chart.draw(data, options);
      }

The html div is:

<div id="curve_chart"/>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/51d8680a-e37d-4f4e-aeac-418590fcf99b%40googlegroups.com.

Reply via email to