User (Legacy) Posted February 21, 2002 Report Share Posted February 21, 2002 Hi I am evaluating the ChartFx Client Server control. I am trying to draw a pie chart . I have a problem with it though, When I set the legend it appears on the X axis as labels for each tick mark. I want the legend text to appear on the legend box and not on the Pie chart itself. say for eg i set the first quad in the pie to be 50 and the legend to be "Title1" Title1:50 appears on the pie chart, I want just the point value to appear not the legend. Here is the code // Is there any way to do what I am looking for. If you look at the attached bitmap I just want 3.57% to appear and not the Title1:3.57% m_chartfx.SetGallery(5); //Pie chart m_chartfx.OpenDataEx(1,1,7); m_chartfx.SetValueEx(0,0,10.00); m_chartfx.SetValueEx(0,1,20.00); m_chartfx.SetValueEx(0,2,30.00); m_chartfx.SetValueEx(0,3,40.00); m_chartfx.SetValueEx(0,4,50.00); m_chartfx.SetValueEx(0,5,60.00); m_chartfx.SetValueEx(0,6,70.00); m_chartfx.CloseData(1); m_chartfx.SetChart3D(FALSE); m_chartfx.SetMultipleColors(TRUE); m_chartfx.SetPointLabels(TRUE); m_chartfx.SetLegend(0,"Title1"); m_chartfx.SetLegendBox(TRUE); Thanks Indhu Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.