I see, the font is indeed pretty big. Though it should/could fit in the shape. Thanks though Sorry for the late reply.
Op donderdag 8 maart 2012 14:53:47 UTC+1 schreef asgallant het volgende: > > I hesitate to call this a bug, because it is probably doing exactly what > the developers intended it to do (hide the labels when they don't quite fit > correctly); the problem is that fontSize 16 is very large in proportion to > the total size of the charts, so with the labels in the default positions, > they don't quite fit right. The solution would be to change the default > position of the labels (probably depending on slice size, position, and > label size), but that isn't anything we can control. > > On Thursday, March 8, 2012 2:16:04 AM UTC-5, Kasper wrote: >> >> 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/-/f9h7IDf4orkJ. 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.
