Files
Basalt2/docs/references/elements/LineChart.md
Robert Jelic 3504d8a3aa Docs fix
2025-09-13 12:50:01 +02:00

29 lines
848 B
Markdown

# LineChart
_The Line Chart element visualizes data series as connected line graphs. It plots points on a coordinate system and connects them with lines._
Extends: `Graph`
## Functions
|Method|Returns|Description|
|---|---|---|
|[LineChart.new](#linechart-new)|LineChart|Creates a new LineChart instance|
|[LineChart:LineChart](#linechart-linechart-props-basalt)|LineChart|Initializes the LineChart instance|
|[LineChart:LineChart](#linechart-linechart)|-|Renders the LineChart|
## LineChart.new()
Creates a new LineChart instance
### Returns
* `LineChart` `self` The newly created LineChart instance
## LineChart:LineChart(props, basalt)
### Parameters
* `props` `table` The properties to initialize the element with
* `basalt` `table` The basalt instance
### Returns
* `LineChart` `self` The initialized instance
## LineChart:LineChart()