DrawEvery for Pointer instead of Marks
Posted: Wed Nov 15, 2006 7:13 pm
We are in the process of trying out the demo version of the .NET TeeChart to see if it will meet the functionality needs we have for a new app that we might write in C#. We have been using TeeChart in the Borland C++ Builder environment previously.
My test app is in Visual Studio .NET 2005 and is written in C# since that will be our dev environment going forward.
I am looking for a way to set an interval on the pointer symbols in a line series.
I know in the Marks there is the DrawEvery property that does exactly what I am looking for but I need it for the pointer symbols.
I have seen a few posts and responses that discuss doing this through the GetPointerStyle event handler for a series.
That would work fine but what I need to know from an implementation side is how do I set up that event handling when my series are created and added to the chart at runtime. I do not know how many series I will have at design time but I want to be able to set this interval for every series added to the chart.
Each example that I have seen talks about adding a Line1 series to the chart and creating an event handler for the GetPointerStyle event on that specific series. That looks great and the code within that handler shows me exactly what I want to do but I need to handle this GetPointerStyle event for each new series that gets added to my chart while running the application.
Any help you could give me on if/how this can be implemented would be greatly appreciated.
Aaron Peronto
My test app is in Visual Studio .NET 2005 and is written in C# since that will be our dev environment going forward.
I am looking for a way to set an interval on the pointer symbols in a line series.
I know in the Marks there is the DrawEvery property that does exactly what I am looking for but I need it for the pointer symbols.
I have seen a few posts and responses that discuss doing this through the GetPointerStyle event handler for a series.
That would work fine but what I need to know from an implementation side is how do I set up that event handling when my series are created and added to the chart at runtime. I do not know how many series I will have at design time but I want to be able to set this interval for every series added to the chart.
Each example that I have seen talks about adding a Line1 series to the chart and creating an event handler for the GetPointerStyle event on that specific series. That looks great and the code within that handler shows me exactly what I want to do but I need to handle this GetPointerStyle event for each new series that gets added to my chart while running the application.
Any help you could give me on if/how this can be implemented would be greatly appreciated.
Aaron Peronto