Page 1 of 1

How to create a custom function?

Posted: Fri Jul 19, 2013 12:06 pm
by 16664962
I want to add a custom function.
It should create a new series using a existing series but with some distance offset added to existing series data.

Please suggest me how should i proceed to create a custom function.

Re: How to create a custom function?

Posted: Fri Jul 19, 2013 1:41 pm
by narcis
Hi OptiSurface,

You should create your own series class inheriting from the series most similar to the series you need to create. There you can override series/values drawing methods to render points to fit your requirements. You can also add additional properties or ValueLists in the custom class and use them for painting the series as well. If you are a source code customer you can check current series implementation as a guide.