Hi All, I'm currently using ChartWrapper and ControlWrapper to develop
some utilities in a project I have been working on.
let me use this example from Controls and Dashboards from the example:
var pieChart = new google.visualization.ChartWrapper({
'chartType': 'PieChart',
'containerId': 'chart_div',
'options': {
'width': 300,
'height': 300,
'pieSliceText': 'value',
'legend': 'right'
}
});
I know pieChart is of the type ChartWrapper, but I'm using a PieChart
object to draw the chart. Now, how do I do to set up the options of
the PieChart object, and not of the ChartWrapper?
I tried to use getChart, but that always returned me null. I suppose
ChartWrapper has an object of the type PieChart. If somehow I could
access that object, so I could set up some options to fullfil my
needs.
Does someone know how to do it?
--
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.