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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

Hi guys,

I purchased sci chart recently and have been using it in our trading applications. We have a requirement to produce some reports around our activity that are not numeric or date time on the x-axis.

I assumed sci chart would be able to handle text on an axis but it seems that it cant. Is there any work around to this?!

We really do not want to have to buy another charting package just to produce some simple charts and we love sci chart for everything else…

  • You must to post comments
0
0

Hello there,

We are going to introduce LabelFormatter property in AxisBase class, which allows to change text on axis. To do this, you need to implement ILabelFormatter interface, which contains a method

        public string FormatLabel(IComparable dataValue)
        {
          ...
        }

So, you will be able to change axis labels text depending on data value at this point. Is this suitable for you? Will that approach work in your case?

Best regards,
Yuriy

  • chesh30
    Yes this should work, will this be in the new beta?
  • Yuriy
    Yes, it will. It will be included in both Standard and Premium edition.Please, feel free to post if you need more info!Yuriy
  • You must to post comments
0
0

UPDATE

we now have a tutorial showing how this can be done with SciChart v2.0 or above. Please see the Screenshots, XPS Printing, X-Axis Text Labels article now has an updated sample which compiles against SciChart v3.0 so you can download it and get started.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.