User (Legacy) Posted March 14, 2005 Report Share Posted March 14, 2005 Hi, we're using ChartFX C/S, and we happen to have a chart containing 17 items. Now it seems that CFX has a pallette of only 16 when it comes to shading the pie slices. When it gets to the 17th, it starts from the beginning. Its a bit disconcerting to see the the first and last pie slice actually look the same piece of pie. Is there any way to increase the number of colors shown by the pie chart? Thanks, Steve. Quote Link to comment Share on other sites More sharing options...
Software FX Posted March 15, 2005 Report Share Posted March 15, 2005 Yes. You can set the any amount of colors you want. We just happen to have 16 in our palette (we can only chose so many). To set a different set of colors you need to do: chart.OpenDataEx COD_COLOR,17,0 chart.Color(0) = <Color For First Slice> chart.Color(1) = <Color For Second Slice> ... chart.Color(16) = <Color For 17th Slice> chart.CloseData COD_COLORS -- FP Software FX 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.