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

Hello,

Are there any plans to add a percentage X Axis?

For example:

Comparative Percent Performance Chart

The chart plots the percent change for each series starting at the beginning of the view window.

Thanks.

Version
4.2.2
  • You must to post comments
0
0

Hi Paul,

Thanks for your question. We don’t have it on our to-do list, but I think it is possible to implement this kind of chart using current SciChart capabilities.

Please take a look at this documentation article on the ViewportManager feature. You can implement a custom ViewportManager that will calculate percentages based on DataRange of an axis. It will require having two axes. First one should be hidden with AutoRange=”Always” which will always return the maximal cumulative VisibleRange of all series. Second one will be visible and will have VisibleRange calculated by the custom ViewportManager – your desired percentage range.

Does this idea make sense?

  • You must to post comments
0
0

HI Paul

To add to the above. There is a way, it just requires a little extra work.

  1. When Appending to your data-series, calculate Y values as percentages relative to DataSeries.YValues[0]
  2. When applying the YAxis, use our LabelProvider or TextFormatting feature to format the axis label as a percentage

Switching back to normal mode would require recalculation of data in (1), but SciChart is able to handle updates very quickly, and even for tens or hundreds of series this shouldn’t be a problem.

Best regards,
Andrew

  • You must to post comments
0
0

Thanks for the ideas I will see which is the most appropriate for my situation.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.