Pre loader

Percent X Axis Scale

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

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.

Try SciChart Today

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

Start TrialCase Studies