Pre loader

How to remove curves at coordinate of digital line

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

0
0

Hi all,

I created a digital line with belove code:

        var renderableSeries = new FastLineRenderableSeries()
        {
            Stroke = Color.FromRgb(255, 255, 0),
            StrokeThickness = 30,
            DataSeries = dataSeries,
            IsDigitalLine = true,
        };

And there are curves at all coordinate of the digital line. How can I remove the curves ?

P/S: Please check the attachment image.


Thanks!

Nhan Phan

Version
4.0
Images
  • You must to post comments
0
0

Hi there,

I’m afraid the reason why you have curves is because of StrokeThickness = 30. The large stroke thickness requires a circle pen cap to draw smooth lines with decent performance.

There is a way around it but it would require some hacking around in the code to enable the correct line pen cap I’m afraid…

  • You must to post comments
Showing 1 result
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