The GWT API has not added explicit support for the opacity option. However,
you can always do something like this:
options.set("areaOpacity", 0.5);
In terms of customizing the background, or showing a range of acceptable
values, I'm not sure what the best solution is. You could try using
ComboChart, which can draw lines and areas.
On Wed, Sep 28, 2011 at 1:15 PM, Manuel <[email protected]> wrote:
> Hi I would like to use the Google Chart Tools into a GWT application.
> Following two problems I've encountered using the GWT library:
>
> First: Reading the API (with Javascript example only) I saw that is
> possible to set the opacity in the AreaChart (link to the API
>
> http://code.google.com/intl/it/apis/chart/interactive/docs/gallery/areachart.html
> )
> but I can't set that property using the GWT implementation of the
> class
> "com.google.gwt.visualization.client.visualizations.corechart.AreaChart"
> or in the class
> "com.google.gwt.visualization.client.visualizations.corechart.Options".
> Is there a specific option class for the AreaChart?
>
> Second: Is it possible to customized the background of the LineChar?
> Ex. I would like to be able to specify through 3 colored areas in the
> background (good, acceptable, not acceptable) the range of acceptable
> values
>
> Thanks in advance
>
> Manuel
>
> --
> 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.