Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPChartRadarDiagram problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPChartRadarDiagram problem

 Post Reply Post Reply
Author
Message
netman2 View Drop Down
Groupie
Groupie


Joined: 19 April 2016
Location: Seoul
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote netman2 Quote  Post ReplyReply Direct Link To This Post Topic: CXTPChartRadarDiagram problem
    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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.