Hello,
Are there any plans to add a percentage X Axis?
For example:
The chart plots the percent change for each series starting at the beginning of the view window.
Thanks.
- Paul R asked 7 years ago
- You must login to post comments
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?
- Yuriy Zadereckiy answered 7 years ago
- You must login to post comments
HI Paul
To add to the above. There is a way, it just requires a little extra work.
- When Appending to your data-series, calculate Y values as percentages relative to DataSeries.YValues[0]
- 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
- Andrew Burnett-Thompson answered 7 years ago
- You must login to post comments
Thanks for the ideas I will see which is the most appropriate for my situation.
- Paul R answered 7 years ago
- You must login to post comments
Please login first to submit.