Version

Connect Scatter Chart Points with a Line

This topic explains how to connect the points in a scatter chart with a line. A line can help users to more easily visualize the differences between data points on the chart.

To create a line that connects the points on a scatter chart, you simply change the ConnectWithLines property of the scatter chart to True.

In Visual Basic:

Me.UltraChart1.ScatterChart.ConnectWithLines = True

In C#:

this.ultraChart1.ScatterChart.ConnectWithLines = true;

This code will connect the points in your scatter chart with a line that starts at the first point and connects the points in order, ending with the last one. Setting this property to True makes the connecting line appear, setting it to False makes it disappear.