Pre loader

Unexpected line gaps in chart

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

I have a line chart and I frequently notice the lines were rendered with gaps in random places that change in size as the chart is being scrolled in the horizontal direction. Please see the attached screenshot/video.

The location of the gap seem to be different every time the page is reloaded.

I do have the following configuration, however I’ve observed the behaviour without the configuration as well.

new XyDataSeries(wasmContext, {
   dataIsSortedInX: false,
   dataEvenlySpacedInX: false,
   containsNaN: true,
});

Appreciate any pointers on how to resolve this issue.

Version
3.3.586
Images
  • You must to post comments
1
0

Hi Edwin, anything special about this dataset? If you can upload a CSV with the data it would help.

You can try removing these flags

new XyDataSeries(wasmContext, {
   // dataIsSortedInX: false,
   // dataEvenlySpacedInX: false,
   // containsNaN: true,
});

They are precomputed by scichart anyway. Including the flags results in marginally higher performance, however incorrect match of flag + data can result in unexpected results

Best regards,
Andrew

  • You must to post comments
1
0

Hi Andrew,

Thanks for your response. I was noticing the gaps before I added those configuration values.
It happens often but not all the time, so I’m unsure what’s the condition that’ll trigger this rendering behaviour.
There is nothing special about the data set, please see attached file.

I don’t know if it’s related, but I’ve also seen line gaps in one of your examples:
https://www.scichart.com/example/javascript-chart/javascript-chart-custom-pointmarkers/

Thanks.

Attachments
Images
  • You must to post comments
1
0

What’s your hardware? We tried all day to reproduce this but couldn’t. We think it might be hardware / browser or GPU driver related. Please provide as much info as possible as to the system configuration such as whether you’re running Mac or windows, what GPU and driver version, and what browser

  • You must to post comments
0
0

Hi Andrew,

I’m using Macbook pro with Apple M2 Pro chip, the issue happens for me in Chrome, Safari & MS Edge, and I’ve observed it in Mac OS 13 & 15.

It does seem like a hardware issue, as when I tried an older Macbook pro with intel i7 / Radeon Pro 560 the lines look fine.

However, my colleagues also observed line gap rendering issues, they were using Windows 10 Dell laptop with Intel Core i7 10810U 1.1Ghz and Intel UHD graphics 1Gb memory.
And it was on Chrome 129.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.