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

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.