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.
- Edwin Liu asked 4 months ago
- last edited 4 months ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 4 months ago
- last edited 4 months ago
- You must login to post comments
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.
- Edwin Liu answered 4 months ago
- last edited 4 months ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 4 months ago
- You must login to post comments
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.
- Edwin Liu answered 4 months ago
- last edited 4 months ago
- You must login to post comments
Please login first to submit.