Docs

Documentation versions (currently viewingVaadin 25.3 (pre-release))

Line & Spline Charts

Charts that connect data points with straight lines or smooth curves.

Line charts connect a series of data points with lines. In basic line charts, the lines are straight, whereas in spline charts the lines are smooth polynomial interpolations between the data points.

Table 1. Line Chart Subtypes
ChartType Plot Options Class

LINE

PlotOptionsLine

SPLINE

PlotOptionsSpline

Line Example

Source code
ChartTypeLine.java

Spline Example

Source code
ChartTypeSpline.java