CXTPChartRadarDiagram problem |
Post Reply |
Author | |
netman2
Groupie Joined: 19 April 2016 Location: Seoul Status: Offline Points: 24 |
Post Options
Thanks(0)
Posted: 19 April 2016 at 5:46am |
I recently upgraded my projects from xtream toolkit pro v15.1.3 to v17.1.0 and from Visual studio 2010 to 2015.
I did a migration and there is some problem. below is my code: CXTPChartSeries* pSeries = m_chartCPU.GetContent()->GetSeries()->GetAt(0); pSeries->GetPoints()->RemoveAll(); for (int i = 0; i < STATUS_CPU_MAX; i++) { if (m_tAll_CPU.ulCount > maxVal) maxVal = m_tAll_CPU.ulCount; if (m_tAll_CPU.strName.GetLength() > 0) statusCount++; } for (int i = 0; i < statusCount; i++) { CString strName = m_tAll_CPU.strName; WrapString(strName, STATUS_CHART_LABEL_LEN_MAX); pSeries->GetPoints()->Add(new CXTPChartSeriesPoint(strName, m_tAll_CPU.ulCount)); } CXTPChartRadarDiagram* pDiagram = (CXTPChartRadarDiagram *)pSeries->GetDiagram(); pDiagram->GetAxisY()->GetRange()->SetMinValue(0.0); SetMinValue() function causes the exception error. I don't know the reason why... there is no document about CXTPChartRadarDiagram. Please reply to me. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |