SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components


Good day!
I’m working with painting FastMountainRenderableSeries. Now I need to give to user an ability to paint curve not only under the line, but above line too.
Is there any automatic property to make it?
Thank in advance.

  • You must to post comments
Best Answer

Hi Egor,

The property you are looking for is FastMountainRenderableSeries.ZeroLineY. From our XML documentation:

        /// <summary>
        /// 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
        /// </summary>
        public double ZeroLineY
            get { return (double)GetValue(ZeroLineYProperty); }
            set { SetValue(ZeroLineYProperty, value); }

Try setting the ZeroLineY to the YAxis.VisibleRange.Max value. Does it work?

  • Egor
    Thank you! That works!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.