Print Page | Close Window

CXTPChartRadarDiagram problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=23004
Printed Date: 24 December 2024 at 12:34pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPChartRadarDiagram problem
Posted By: netman2
Subject: CXTPChartRadarDiagram problem
Date 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.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net