Line Chart

This component renders a line chart based on provided data series. It supports different curve styles (straight, smooth, stepline) and can display markers for data points or thresholds. Typical usage is in dashboards, analytics tools, or reporting interfaces.

Constructors

LineChart

LineChart returns a TLineChart initialized with the given chart.


Methods

MethodDescription
Chart(chart chart.Chart)Chart sets the chart config.
Curve(curve Curve)Curve sets the curve style.
Markers(markers Markers)Markers sets the markers config.
Series(series []chart.Series)Series sets the data series.