Pre loader

Area Color on mountain chart with flipped Y-Axis

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

Answered
0
0

Hi,

I have a mountain chart in which I have flipped the Y-Axis in order to plot a descending depth below sea surface. When I flip the axis the area color gets filled in in the top part of the mountain chart which for the sake of plotting a descending depth visually looks a bit off.

Is there any way to keep the area color fill in the lower part of the mountain series even with the Y axis flipped ?

  • You must to post comments
Best Answer
0
0

Yes there is, you need to change the property FastMountainRenderableSeries.ZeroLineY

BaseRenderableSeries.ZeroLineY

Gets or sets the value which determines the zero line in Y direction. Used to set the bottom of a column, or the zero line in a mountain

We have a similar FAQ here:
Inverted paint in FastMountainRenderableSeries which suggests setting FastMountainRenderableSeries.ZeroLineY to either VisibleRange.Max or VisibleRange.Min of the Axis.

Hope this helps!
Andrew

  • You must to post comments
0
0

It works. Thanks !

  • You must to post comments
Showing 2 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