SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
I have taken the FastColumnRenderableseries and flipped some of the internals to create a FastRowRenderableseries. My question is how can I exclude the additional axis (Numeric type) from zoom calculations including extents, rubber band, mouse, etc.
The row series was implemented to create a way to show a magnitude in the X axis at specific price levels (volume accumulated at price level) of the SciStockChart y price axis. I did try using the column series but with a different placement but it’s zoom would size incorrectly.
I have tried using the viewport managers, as well as catching the axis changed then iterating over the x axis price data series visible range to store the visible highest/lowest then setting the y axis visible range based on that highest/lowest.
Ideally, I’d like to find a way to use one of the pre-made viewport managers or a custom one so that modifiers won’t be affected.
There’s an easier way to do this.
This will work and has been used before to create Market Profile charts like the one you show.
Alternatively, to hack VisibleRange so it doesn’t get set…
Axis.VisibleRange is updated by several different things in SciChart, also in your own code. The Axis.VisibleRange can be updated by:
You need to find out how/where this range is being set and unset it. The following technique can be used to blanket unset a range if need be:
Scroll down to ‘Advanced VisibleRange Clipping and Manipulation’.
Please login first to submit.