User (Legacy) Posted February 15, 2002 Report Share Posted February 15, 2002 -- Kind regards, Rolf_huijbrechts@yahoo.com "Rolf" <rolf_huijbrechts@yahoo.com> wrote in message news:Cr9CQRntBHA.1412@webserver1.softwarefx.com... > Hi, > > > > I am doing some more tests with the pie chart. I am having problems to > display the percentage or value next to the pie. Please explain how to use > this. > > > > The comments are in the code: > > m_pChartFX->ClearData(CD_ALLDATA); > > m_pChartFX->PutTitle(CHART_TOPTIT, L"Group ZOCOR"); > m_pChartFX->PutToolBar(FALSE); m_pChartFX->PutMarkerSize(5); > m_pChartFX->PutGallery(PIE); m_pChartFX->PutBorder(TRUE); > > // if I don't set this property => no percentages > m_pChartFX->PutPointLabels(TRUE); > > // When setting this property => no values are displayed > m_pChartFX->PutTypeMask(CT_PIEVALUES); > > m_pChartFX->OpenDataEx( COD_VALUES, 1, COD_UNKNOWN); > > m_pChartFX->PutValueEx(0, 0, 135); > > m_pChartFX->PutValueEx(0, 1, 40); > > m_pChartFX->PutValueEx(0, 2, 90); > > m_pChartFX->PutValueEx(0, 3, 120); > > > m_pChartFX->CloseData(COD_VALUES); > > > -- > Kind regards, > Rolf_huijbrechts@yahoo.com > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.