CChartStandardAxis* pBottomAxis = m_ChartCtrl1.CreateStandardAxis(CChartCtrl::BottomAxis); CChartStandardAxis* pLeftAxis = m_ChartCtrl1.CreateStandardAxis(CChartCtrl::LeftAxis); pBottomAxis->SetAutomaticMode(CChartAxis::FullAutomatic); pLeftAxis->SetAutomaticMode(CChartAxis::FullAutomatic);
<img src="https://s1.ax1x.com/2018/04/13/CEHirD.png" alt="CEHirD.png" border="0" />
Quote:The control uses dynamic casts internally so RTTI (RunTime Type Information) must be enabled, otherwise a crash will probably occur. RTTI is not enabled by default for VC6, so to enable it open the project settings -> "C/C++" tab -> "C++ language" category and there make sure that the "Enable Run-Time Type Information (RTTI)" check-box is checked.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)