SharpPlot Tutorials > Style Examples > Lines are drawn between data points

Lines are drawn between data points

Lines are drawn between data-points on linegraphs and scatterplots. This is the default for linegraphs, so style ‘NoLines’ must be used to remove them.

sp.ScatterPlotStyle = ScatterPlotStyles.Lines;

Points are connected by straight lines unless the Curves style is used. Use the TrendLine style to draw an approximate smooth curve through the data without visiting all the points.

See also ...

Curves are used to join data points | No Lines are drawn | Trend lines | SharpPlot Members | SharpPlot.BarChartStyle Property | SharpPlot.BoxPlotStyle Property | SharpPlot.CloudChartStyle Property | SharpPlot.DialChartStyle Property | SharpPlot.GanttChartStyle Property | SharpPlot.LineGraphStyle Property | SharpPlot.MinMaxChartStyle Property | SharpPlot.PolarChartStyle Property | SharpPlot.ResponsePlotStyle Property | SharpPlot.ScatterPlotStyle Property | SharpPlot.StepChartStyle Property | SharpPlot.TableStyle Property | SharpPlot.TowerChartStyle Property | SharpPlot.TraceChartStyle Property | SharpPlot.VennDiagramStyle Property | SharpPlot.XAxisStyle Property | SharpPlot.XBarChartStyle Property | SharpPlot.YAxisStyle Property | SharpPlot.ZAxisStyle Property | SharpPlot.SetXDatumLines Method | SharpPlot.SetYDatumLines Method

Send comments on this topic
© Dyalog Ltd 2021