another sample: please advise how to correct this one.

<https://lh3.googleusercontent.com/-Gzg0On7aszI/VhlBzXyA-uI/AAAAAAAAACA/y0Vtz7k6xbI/s1600/Capture.PNG>


On Sunday, 11 October 2015 00:28:46 UTC+8, Glady B wrote:
>
> Here is my table, this is also the data rendered in the column chart
>
>
> <https://lh3.googleusercontent.com/-2sKy7R5jiaY/Vhk2kLGI6bI/AAAAAAAAABU/pJ1STuAdhk8/s1600/table.PNG>
>
>
> then here is my Column chart:
> Take a look at the scale, from 22 it continues to 2 ,3 ,5 which seems to 
> be incorrect.
> Please advise.
>
>
> <https://lh3.googleusercontent.com/-x9QOkzmEZCs/Vhk8cPjhNzI/AAAAAAAAABs/8QfpCdLwjUQ/s1600/graph.PNG>
> Code:
>
> <script type="text/javascript">
>     google.load("visualization", "1", { packages: ["corechart"] });
>     google.setOnLoadCallback(drawChart);
>     function drawChart() {
>         var data = new 
> google.visualization.DataTable(@(Html.Raw(ViewBag.Data)));
>
>         var options = {
>             chart: {
>                 title: 'Incident Ticket by Status Per Month',
>             },
>             bars: 'vertical',
>             vAxis: { format: 'decimal' },
>             height: 400,
>             Width: 1700,
>             colors: ['Red', 'Yellow', 'Green', 'Orange', 'Blue'],
>
>         };
>
>
>
>         var chart = new 
> google.charts.Bar(document.getElementById('chart_div2'));
>
>         chart.draw(data, google.charts.Bar.convertOptions(options));
>   
>     }
> </script>
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/382c27c5-f92e-4176-84c5-a1695b0c398c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to