Yes, you can see a working example here:
http://test.lyxdesign.nl/chart-mockup.html
The options I pass:
<input id="variables-piechart-1-data-value1" type="hidden" value="45.8944" />
> <input id="variables-piechart-1-data-value2" type="hidden" value="54.1056" />
> <input id="variables-piechart-2-data-value1" type="hidden" value="44.1667" />
> <input id="variables-piechart-2-data-value2" type="hidden" value="637.8333" />
> <input id="variables-piechart-3-data-value1" type="hidden" value="3882.5" />
> <input id="variables-piechart-3-data-value2" type="hidden" value="12837.5" />
>
>
and in javascript:
'width': 146,
'height': 130,
'chartArea': {left:0, top:0, width:'100%', height:'100%'},
'legend': {position: 'none'},
'fontSize': '12px',
'slices': [{textStyle: {color:'#ededef', fontSize: '16'}},
{textStyle: {color:'#999a9e', fontSize: '16'}}],
'is3D': true,
'colors':['#999a9e', '#ededef', '#7d7e82', '#d1d2d4'],
'tooltip': {trigger: 'none'}
};
Fontsize could play a role here, but when the left chart has 46 or 45
percent, it will show the label... which is weird, right?
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/jpGHkg7LOQ4J.
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.