Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
Derive from Scatterbase
posted

Hi,

We are developing a customized series for our XamDataChart control and show it with other ScatterLineSerieses together in one chart. The issue is other ScatterLineSerieses have set up MaximumMarkers to make sure whatever zoom of the chart, they show fixed number of markers. We do not know how Infragistics calculates the markers so we hope to write a customized series inheriting from ScatterSeries or ScatterBase. The problem is the former class is sealed and the latter class has an internal constructor that we cannot call. 

However on the online document:http://help.infragistics.com/Help/NetAdvantage/WPF/2012.1/CLR4.0/html/xamDataChart_Creating_Custom_Series.html

 it says we can inherit from ScatterSeries. 

 

Could you please help me how to achieve this function? I really appreciate it.

 

Thanks,

Bill

  • 138253
    Offline posted

    Hello Bill,

     

    Thank you for your post. I have been looking into it and I can say that you can inherit from ScatterBase class, which is subclass of Series, but you are not able to inherit from ScatterSeries, because it is sealed. In the link you provided it is written that you can inherit from Series class and there is an example of how to achieve this.

     

    Hope this helps you.