CircularGauge axis:
gauge.GetAxis().SetIncrement(500.0);
gauge.GetAxis().SetIncrement(1000.0);
Using editor increment for axis is 500.0 and labels are drawn with increment 500.0.
TeeChart 2016.0.0.2 and C++.
Huh. This series type is really buggy!
CircularGauge axis. Can set increment only once.
Re: CircularGauge axis. Can set increment only once.
Hello,
I've tested this code in VS2015 with TeeChart ActiveX 2016.0.0.2 and it seems to work as expected:
I've tested this code in VS2015 with TeeChart ActiveX 2016.0.0.2 and it seems to work as expected:
Code: Select all
BOOL CDraggingDlg::OnInitDialog()
{
//...
m_ctrlChart.AddSeries(scCircularGauge);
m_ctrlChart.Series(0).GetAsCircularGauge().SetValue(2000);
m_ctrlChart.Series(0).GetAsCircularGauge().SetMaximum(5000);
m_ctrlChart.Series(0).GetAsCircularGauge().GetAxis().SetIncrement(500);
}
void CDraggingDlg::OnButton1Click()
{
m_ctrlChart.Series(0).GetAsCircularGauge().GetAxis().SetIncrement(1000);
}
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |