SciChart¬ģ the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

0
0

We are evaluating SciChart for use in our product which includes displaying digital signals. Our goal is to display thick(er) bars when the bit is on and a thin line when it is off. I’ve enjoyed your API so far and have found a simple way of achieving this with the FastBandRenderableSeries paired with the XyyDataSeries.

The issue I’m facing arises when the digital step change isn’t honored at some point during the rendering
(because the issue comes and goes with different states of zooming or panning).
Attached is a screenshot which shows the behavior we are seeing.

We are outputting the data-points as the diagram shows (not inserting extra points to dictate when the edge falls or rises). The following shows the data points we are outputting and the lines we want drawn.

1-------1------
              |
              0-------0

We could also potentially try outputting extra points to see if that could work around the issue–But as a part of our trial we would like to get a feel for SciChart support responsiveness.

1-------1----*1
              |
              0-------0

In this second diagram ‘*’ is the artificial point injected to potentially sidestep the issue.

Let me know if there is any additional information can provide.
Thanks!


Update — Added reproduction solution
Is there some kind of bug bounty? ūüėõ Just kidding.

Version
4.2.3.10185
Attachments
Images
  • Riley Huddleston
    Sounds good. I’ll need to get a small solution that can reproduce this outside our product solution. My first attempt was a simplified version and didn’t reproduce the same behavior. It might take me a bit to get that reproduction outside the product.Thanks for the prompt response!
  • Riley Huddleston
    Is it possible to give you to debug the issue with our compiled binaries (running against your debug dlls)?If not that is fine–I’m still working on moving the simple side example towards our actual code until the behavior shows itself.
  • Riley Huddleston
    Also emailed zipped solution as well.
  • Riley Huddleston
    Also added another attachment that depicts a similar bit at the end of a signal (that ends with the bit being on).
  • Riley Huddleston
    Another update that I forgot to add — This issue doesn’t seem to happen on the HighSpeedRenderSurface. But does on the HighQualityRenderSurface — This may be a key to tracking it down.Do note that secondglitch.png (https://abtsoftware-wpengine.netdna-ssl.com/wp-content/sabai/File/files/l_f1e47e8d6763d8e945f631c041ecf565.png) still happens regardless of the render surface.
0
0

Hi Riley,

We have a cluster of bugs reported related to Digital line and certain patterns of data, which we are looking into. Thank you so much for your sample, I will tag it onto the bug that we are working on.

When we have an update I will let you know.

Best regards,
Andrew

  • Riley Huddleston
    Thanks!
  • Riley Huddleston
    Has a fix found its way into any of the recent builds? Is there a status or some issue that I can see where this is at?
  • Andrew
    Hi Riley, on investigation this isn’t a bug in Digital Line, but how the lines render with the HighSpeedRenderSurface. By default all lines in SciChart have a round line pen cap, so if you go from thin to thick line it will look like the edges are rounded. The best way around this is, is to use another series type to go from thin to thick line. You could use Band Series, a combination of MountainSeries and LineSeries, or create a custom series for which there is documentation here: https://www.scichart.com/documentation/v5.x/webframe.html#Custom%20Series%20(CustomRenderableSeries).html
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.