You mention ImagePieChart, but in your code you actually create an
AreaChart.

Assuming you really mean pie chart, note that image charts are divided into
2 groups, the charts in the first are access by a URL (see
here<http://code.google.com/apis/chart/index.html>),
while the charts in the second group are JavaScript wrappers around charts
in the first group. So for example,
this<http://code.google.com/apis/visualization/documentation/gallery/imagepiechart.html>is
a wrapper around
this <http://code.google.com/apis/chart/docs/gallery/pie_charts.html>. The
URL-based pie chart
supports<http://code.google.com/apis/chart/docs/gallery/pie_charts.html#pie_chart_rotation>the
feature you request, but the JavaScript wrapper around it doesn't. You
can either switch to the URL-based chart, or use the generic
wrapper<http://code.google.com/apis/visualization/documentation/gallery/genericimagechart.html>,
which is less tailored around the specific chart you need (pie chart in your
case), but is more flexible.

I'd suggest moving to the interactive pie
chart<http://code.google.com/apis/visualization/documentation/gallery/piechart.html>,
but unfortunately, it doesn't support the feature you request at the moment.

On Tue, Oct 12, 2010 at 11:55 AM, PaweÅ‚ D <[email protected]> wrote:

> Hi all,
> If i generate image pie chart like that:
>
>        ...
>        var chart = new
> google.visualization.AreaChart(document.getElementById('chart_div'));
>
>        chart.draw(data, {
>            width: 750,
>            height: 300,
>            legend: 'none',
>            colors: ['#7f7f7f'],
>            isStacked: true,
>            hAxis: {textStyle : {color: '#7f7f7f', fontSize: 18}},
>            vAxis: {textStyle : {color: '#7f7f7f', fontSize: 12}},
>            tooltipTextStyle :  {color: '#cc0000'},
>        });
>        ...
>
> It always seems to start drawing from 45 degree.
> Is there a way to draw it from 0 degree?
>
> --
> 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]<google-visualization-api%[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