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
1190
NumericScaler GetScaledValueList not sure how to implement
posted

Hello I am trying ti implement my own NumericScaler but am confused by the GetScaledValueList method.  It signature looks like this

public virtual void GetScaledValueList(IList<double> unscaledValues, int startIndex, int count, ScalerParams p);

I do not understand why this returns void, where am my supposed to put the scaled values?  

Thanks.

Parents
No Data
Reply
  • 34830
    Offline posted

    Hello John,

    Thank you for your post!

    The GetScaledValueList method is used by the XamDataChart's Axes, and it takes that IList<double> unscaledValues and converts it into scaled values. So, while this method does not really return anything, if you would like to retrieve the scaled values, I would recommend that you place the list of unscaled values into this method, and set another list of yours to the scaled value list that results from that method.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer
    Infragistics Inc.
    www.infragistics.com/support

Children