Closed Xixi0506 closed 2 months ago
Hello sorry about the confusion, what is shown in the legend is the geometry, not the line, setting the GeometryStroke
will make the trick:
new LineSeries<double>
{
Values = new double[] { 2, 1, 3, 5, 3, 4, 6 },
Fill = null,
GeometryStroke = new SolidColorPaint(SKColors.Red),
}
In your case it is confusing because your geometry is null.
Discussed in https://github.com/beto-rodriguez/LiveCharts2/discussions/1427