How to control the line thickness/width in ScottPlot (within WPF)

168 views Asked by At

I'm using ScottPlot within a WPF app; specifically, I'm using Plot.AddSignal() to add my signals to a graph.

I see that the width of vertical or horizontal lines can be controlled by the width property, as follows:

Plot.AddVerticalLine(x:10.0, width: 4f);

But how can I control the thickness (width) of signals I add to the chart using AddSignal()?

1

There are 1 answers

0
Ben On BEST ANSWER

You can use SignalPlotBase<T>.LineWidth:

For example:

var sig = Plot.AddSignal(args);
sig.LineWidth = 4;