I have a custom label formatter which only takes int and covert to string. But for Histogram I need to plot X values with double values. So i cant use that Custom label formatter.
- Anitha Chanumolu asked 9 years ago
- You must login to post comments
Hi Anitha,
LabelFormatters support any datatype. Double, DateTime etc… Have you seen our article on Specifying Text Labels with ILabelProvider?
Which LabelProviders does SciChart have out of the box?
By default, the following LabelProviders are available. You can
inherit them and create your own.
- DateTimeLabelProvider – used to provide labels on the DateTimeAxis.
- NumericLabelProvider – used to provide labels on the NumericAxis and LogarithmicNumericAxis.
- TimeSpanLabelProvider – used to provide labels on the TimeSpanAxis.
- TradeChartAxisLabelProvider – used to provide labels on the CategoryDateTimeAxis.
You can inherit any of these types to create your own custom labelproviders, so it will work with DateTimeAxis, or NumericAxis or any other axis.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 9 years ago
- You must login to post comments
Please login first to submit.