Hi,
I’ve been working on getting stacked mountain plots going on multiple stacked y axes. It all works well until I try and put a series on one axes and then a series with a different count on another axes. At that point I get this error:
SciChartSurface didn’t render, because an exception was thrown:
Message: Index was outside the bounds of the array.Stack Trace: at xpj.tkj(IEnumerable`1 cka) at
xpj.DrawStackedSeries(IRenderContext2D renderContext) at
SciChart.Charting.Visuals.RenderableSeries.BaseRenderableSeries.SciChart.Charting.Visuals.IDrawable.OnDraw(IRenderContext2D
renderContext, IRenderPassData renderPassData) at
xlh.jsy(RenderPassInfo hc, IRenderContext2D hd, Int32 he) at
xlh.jsx(ISciChartSurface gz, RenderPassInfo ha, IRenderContext2D hb)
at xlh.RenderLoop(IRenderContext2D renderContext) at
SciChart.Charting.Visuals.SciChartSurface.DoDrawingLoop()
The 2 series have the same x range but different x values from each other. It doesn’t seem to happen for every set of values but I haven’t been able to work out what triggers it and have no access to the drawstackedseries code to see where the indexing is going off. This is happening on log axes but all y values are >0 and the ZeroLineY value is set to 0.1
- Malcolm Geddes asked 5 months ago
-
Hi Malcolm, Thank you for reporting this. We would appreciate if you prepare a small sample project reproducing the reported issue and send it for investigation on our side. Thanks in advance, Lex, SciChart Technical Support Engineer
- You must login to post comments
Hi Malcolm,
Hope you are doing well.
I’m glad to inform you that we have fixed the reported issue and the changes are already available in the recently released SciChart v8.6.0.28199 update.
The release is available in the official NuGet feed. Here you can find more details:
SciChart WPF Changelog – SciChart
Please try it out and let us know your feedback.
Kind regards,
Lex,
SciChart Technical Support Engineer
- Lex answered 1 month ago
- You must login to post comments
Please login first to submit.