839 B
839 B
BarChart
The Bar Chart element is designed for visualizing data series as vertical bars. It displays multiple values as side-by-side bars where each bar's height represents its value.
Extends: Graph
Functions
| Method | Returns | Description |
|---|---|---|
| BarChart.new | BarChart | Creates a new BarChart instance |
| BarChart:init | BarChart | Initializes the BarChart instance |
| BarChart:render | - | Renders the BarChart |
BarChart.new()
Creates a new BarChart instance
Returns
BarChartselfThe newly created BarChart instance
BarChart:init(props, basalt)
Parameters
propstableThe properties to initialize the element withbasalttableThe basalt instance
Returns
BarChartselfThe initialized instance