Deriving custom series and custom drawing
Posted: Wed Sep 03, 2014 10:13 am
Hi,
we've just updated our license to 2014 Pro with sources. Main reason for that is because I need to develop custom series with some customized drawing which is by default not supported from TeeChart. I would like to start with deriving my custom series but I am not sure which class should I take to derive my custom series from.
Now we are using TFastLineSeries which was the best solution for us so far. Now I would like to do some custom drawing and I notice in sources that TFastLine is calling Polyline to draw point. This is not an option for us. We will have to manipulate every point in series and decide how to draw it according to surrounding points. So there will be a mixture of drawing each point, more points etc... What would be your suggestion?
I guess I will have to override DrawAllPoints procedure and do drawing there. How can I retrieve Chart properties and canvas size etc...to get proper dimensions, scaling, offset etc?
Thank you in advance,
Kind regards
Aljosa
we've just updated our license to 2014 Pro with sources. Main reason for that is because I need to develop custom series with some customized drawing which is by default not supported from TeeChart. I would like to start with deriving my custom series but I am not sure which class should I take to derive my custom series from.
Now we are using TFastLineSeries which was the best solution for us so far. Now I would like to do some custom drawing and I notice in sources that TFastLine is calling Polyline to draw point. This is not an option for us. We will have to manipulate every point in series and decide how to draw it according to surrounding points. So there will be a mixture of drawing each point, more points etc... What would be your suggestion?
I guess I will have to override DrawAllPoints procedure and do drawing there. How can I retrieve Chart properties and canvas size etc...to get proper dimensions, scaling, offset etc?
Thank you in advance,
Kind regards
Aljosa