Pre loader

Arrays yValues and indexes must have the same length

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

1
0

The console prints an exception when I zoom in and out with the mouse wheel:

SciChartSurface didn’t render, because an exception was thrown:
Message: Arrays yValues and indexes must have the same length

Stack Trace: at swb.iwb(Int32 bij, String bik, Int32 bil, String bim)
at SciChart.Data.Model.UniformXyPointSeries..ctor(Double xStart, Double xStep, Values1 yValues, Values1 indexes)
at SciChart.Charting.Visuals.RenderableSeries.DrawingProviders.PointMarkerDrawingProvider1.OnDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
at SciChart.Core.Extensions.EnumerableExtensions.ForEachDo[T](IEnumerable
1 enumerable, Action`1 operation)
at SciChart.Charting.Visuals.RenderableSeries.BaseRenderableSeries.InternalDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
at SciChart.Charting.Visuals.RenderableSeries.BaseRenderableSeries.SciChart.Charting.Visuals.IDrawable.OnDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
at ebu.toj(RenderPassInfo gj, IRenderContext2D gk, Int32 gl)
at ebu.toi(ISciChartSurface gg, RenderPassInfo gh, IRenderContext2D gi)
at ebu.RenderLoop(IRenderContext2D renderContext)
at SciChart.Charting.Visuals.SciChartSurface.DoDrawingLoop()

Here is a simple example program uploaded.

Version
7.0.1.27135
Attachments
  • hundun wds
    Yes, I just applied for the trial version before, which is mainly used for learning. Do you have the student version of your product? I just use it to study
  • Lex
    • Lex
    • 9 months ago
    • 1
    Hi there, Thanks for your inquiry. I’ve tested the sample application on our side and it looks like it works with no issues. Could you please tell have you checked this on any other PC? With best regards, Lex SciChart Technical Support Engineer
  • Lex
    • Lex
    • 9 months ago
    Regarding the educational license, yes, we offer it for full-time students. To get more details please contact our Sales here: https://www.scichart.com/contact-us/ Or email us at [email protected]
  • hundun wds
    A set of test data is loaded in the sample program, and when the chart is scaled to a certain range with the mouse wheel, the VS console outputs a large number of error messages
  • hundun wds
    Please run with VS debug and the above BUG will be reproduced
Showing 0 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