SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components


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.