It appears that IE have an issue with small numbers. If one of the data
items is lower 1/1080 of the total items. the chart is destroyed.
In IE, you might want to normalize your data to that scale.

Roni

On Thu, Sep 1, 2011 at 12:23 PM, Gilles Haverbeke <
[email protected]> wrote:

> Hi Roni,
>
> Thanks for your quick reply. I'm afraid your comment does not fix my
> problem.
>
> The "sliceVisibilityThreshold" only controls whether the "very small"
> slices are grouped together to a single "Other" slice. If I enable
> this feature as you suggest, the only thing that changes is that the
> tiny slice is displayed as "Eat" instead of "Other". The big "Work"
> slice is still not shown in Internet Explorer. (tested IE6, 7 and 9,
> all showing the same behavior)
>
> Best regards,
>   Gilles
>
> On Sep 1, 11:01 am, Roni Biran <[email protected]> wrote:
> > 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.
>
>

-- 
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.

Reply via email to