SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
Hi,
I have a question as to whether it is possible to draw major gridlines to end at the renderSeries surface. Something similar to the attached image.
Hi Vidya,
It isn’t possible because chart’s XAxis doesn’t have direct access to data from renderable series. Have you tried to use FastMountainRenderableSeries instead?
You can set its fill to some non transparent color ( so fill color will replace gridlines ) and set its ZeroLineY to some high enough value ( larger than VisibleRange.Max for YAxis ):
final FastMountainRenderableSeries rSeries = sciChartBuilder.newMountainSeries()
.withDataSeries(dataSeries)
.withStrokeStyle(0xAAFFC9A8, 1f, true)
.withAreaFillColor(Color.BLACK)
.withZeroLine(13000)
.build();
Is this suitable for your needs? Hope this will help you!
Best regards,
Yura
Please login first to submit.