Please help me with this, I simply can't continue and can't find any documentation about the problem.
I added a Gauge control to a FormView

I already have a line series in a different class.
I added
CTChart1 m_cTeeChartGauge;
and
DDX_Control(pDX, IDC_TCHART1, m_cTeeChartGauge);
Then in OnInitialUpdate() of the FormView
m_cTeeChartGauge.AddSeries(1);
double m_dValue=50.0;
m_cTeeChartGauge.Series(1).GetAsGauge().SetValue(m_dValue);
I get this compiler error
D:\PROJECTS\1_ MCA_forTest\ControlPanel.cpp(214) : error C2228: left of '.GetAsGauge' must have class/struct/union type
D:\PROJECTS\1_ MCA_forTest\ControlPanel.cpp(214) : error C2228: left of '.SetValue' must have class/struct/union type
I configured the gauge "m_cTeeChartGauge" using TeeChart Editor !
What am I doing wrong ?
[/img]