Philippe Ribeiro
unread,Jun 10, 2012, 11:40:09 AM6/10/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Visualization API
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?