Although this is not fully supported, you can choose manually the package
name to be 'corechart' rather than 'piechart' and this should work as you
intended.

  Viz Kid

On Sun, Sep 26, 2010 at 8:39 AM, MC Get Vizzy <[email protected]> wrote:

> I think the legendTextStyle option is only available in the new Google
> charts, which are not really supported by the GWT Visualization API yet.
>
> MC Get Vizzy
>
>
> On Wed, Sep 22, 2010 at 7:05 PM, Kevin S. <[email protected]> wrote:
>
>> Hi I'm use the GWT visualization api.   I can set simple options like
>> background color, but I can't figure out how to set the more
>> complicated ones.  For example, here is an attempt to set the legend
>> style.   I do not get any errors, but my legend text does not change.
>>
>>   Here I am setting up a PieChart.Options object.
>>
>>
>>            options.set("backgroundColor", "yellow");  // <--- This works
>> fine
>>
>>            Properties propLegendTextStyle = Properties.create();
>>            propLegendTextStyle.set("color", "green");
>>            propLegendTextStyle.set("fontSize", 16.);
>>            propLegendTextStyle.set("fontName", "arial");
>>
>>            options.set("legendTextStyle", propLegendTextStyle);   // <---
>> This does nothing.
>>
>> -Kevin
>>
>> --
>> 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]<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