Hi,
This repaints both the plot and legend correctly in my test -
void button1_Click(object sender, EventArgs e)
{
lineChart.Series.Clear();
lineChart.Series.Add(
new Series2D(
new List<double> { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 },
new List<double> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 },
labels
) { Title = "new series", SupportedLabels = LabelKinds.XAxisLabel });
}
Let me know if you mean something different by updating the chart.
You shouldn't have to deal with LineRenderer yourself if using the LineChart class, but only if creating custom dashboards and mixing different kinds of graphics. LineChart has a default LineRenderer that draws whatever series you add to the chart's collection.
Regards,
Slavcho