We are using an old TChart OCX Version (8.0.1.3) and we try to apply antialiasing on series 'scLine' on VS c++.
In the documentation, I see that it is possible with the CAntiAliasTool and I tried like that:
Code: Select all
pTChart->GetTools().Add(tcAntiAlias)
pTChart->GetTools().GetItems(0).GetAsAntiAlias().SetAntialias(TRUE)
But when I open in Visual Studio the 'SeriesTextSource' example can easily add this antialias tool with the 'TeeCommander' and it works.
Why it is not possible to do the same dynamically?
Thank you for your help.