Mick Posted January 28, 2010 Report Share Posted January 28, 2010 Is there any way that I can get an OtherTransform (or similar) object to group the data in my series based on what its point number is? I have a pie with 10 equally sized slices: I want the pie to look like this: Here I have 9 slices - the last slice is really the combination of 2 slices. I am more concerned about the scroll bar space than I am about the data grouping. The OtherTransform was crashing when I tried to write a test project, but if I understand how it's supposed to work correctly, the following example highlights an example of what I want NOT to happen: 90% A 5% B 5% C OtherTransform.MinPercentage = 1 This chart needlessly groups B and C together with an OtherTransform. Thank you, Michael Quote Link to comment Share on other sites More sharing options...
JuanC Posted January 29, 2010 Report Share Posted January 29, 2010 Unfortunately we do not have a way for the transform to group based on scrollbars appearing on the legend, note that if the chart size (or the font used or the location of the legend box) is changed you might have to change your grouping and data transforms operate only once when the data is processed. If (and this might be a big IF) the size of the chart is constant as well as the style and font, you could use a transform that would only apply if the number of slices is bigger than a specified fixed amount (e.g. 10 in your sample, note that many factors will change this), If this sounds useful we could add a property to OtherTransform to support this functionality. JuanC Quote Link to comment Share on other sites More sharing options...
Mick Posted February 1, 2010 Author Report Share Posted February 1, 2010 This actually sounds like it will be very useful. I'm most interested in "not showing the scrollbar" when I'm trying to use the charting engine to create printed material (because clients love WYSIWYG - but printed scrollbars don't really make sense). In the mean time, is there any way I can create this transform (or something that achieves the same goal) by myself? Thank you, Mick Quote Link to comment Share on other sites More sharing options...
JuanC Posted February 5, 2010 Report Share Posted February 5, 2010 In Build 3688 we have added a MaxCount property to OtherTransform. If you set this to 5 it means we will make sure at most 5 elements are plotted (where the fifth one will be "Other") but will do nothing if the original data contains 5 or less elements. This also means that MinPercentage will be ignored in this scenario. JuanC Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.