Pre loader

how get the X Axis labels with double values

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums


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.

  • You must 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,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies