In the pie options you have "sliceVisibilityThreshold". This is the
visibility threshold for showing slices. The default value is 1/720. Change
it and you'll see your data.
chart.draw(data, {width: 450, height: 300, title: 'My Daily
Activities',* **sliceVisibilityThreshold:
1/100000 *});
Good luck,
Roni
On Thu, Sep 1, 2011 at 11:19 AM, Gilles Haverbeke <
[email protected]> wrote:
> Hi,
>
> I'm experiencing problems with the Visualisation API in the "corechart"
> package. When I'm using the following code, the "big slice" is not rendered
> at all in IE. The rest of the Chart (legend, title etc) is rendered as it
> should. In Chrome and Firefox the chart is rendered OK.
>
> function drawChart() {
> var data = new google.visualization.DataTable();
>
> data.addColumn('string', 'Task');
> data.addColumn('number', 'Hours per Day');
>
> data.addRows(2);
> data.setValue(0, 0, 'Work');
> data.setValue(0, 1, 10000);
> data.setValue(1, 0, 'Eat');
> data.setValue(1, 1, 1);
>
> var chart = new
> google.visualization.PieChart(document.getElementById('chart_div'));
> chart.draw(data, {width: 450, height: 300, title: 'My Daily
> Activities'});
> }
>
>
> Is there any way to workaround this problem, or can this issue be fixed?
>
> Thanks in advance.
>
> Best regards,
> Gilles
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-visualization-api/-/1Se0cU4wdIcJ.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.