Oh, thanks, that's good. Now i use some hack to skip colors of zero values.
2009/3/18 VizBoy <[email protected]> > Hi, > > This is currently the behavior of piechart. This is by design. The reason > is that if we do skip the color of the zero-valued slice, then we might get > a situation in which two neighboring slices are drawn with the same color > (in the case many slices are zero, since the colors array is cyclic). > > However, since a few people requested this, we have added a feature request > to add an option to change this behavior. > > Regards, > VizBoy. > > > On Tue, Mar 17, 2009 at 12:32 AM, Simal <[email protected]> wrote: > >> >> I'm experiencing the same problem.. I think the rows in the chart >> should match with the colors. >> When there are, say, 3 rows in the pie chart and according 3 colors, >> and if one of the rows is not visible in the pie (the value is zero), >> it should skip the colors array index for that row and draw the next >> non-zero pie with its respective color. >> >> Thanks. >> Simal >> >> On Feb 11, 11:28 am, Maksym Barbul <[email protected]> wrote: >> > Hello, i have an issue. >> > When i use pie chart to display i.e. 8 pieces i give an array of >> > special colors every value has its owncolor. >> > But if some value is zero, next value getscolorof previous one. So >> > colors are mixed. >> > >> > Do you have such issue in your tracking system or you think it isn't >> > useful feature to set certaincolorto value? >> > >> > Thank you for your time. >> >> >> > > > > -- С уважением, Максим Барбул --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
