Not only can you stack the different data like above, but you can also let them overlay.
To add the area chart to your UI, you first need to wrap it in a Data Provider. Then you can add the Area chart to your UI through
Chart > Area Chart.
After adding the Area chart to your UI, you can now select data. You should've already selected a data source through the Data Provider, so now you can select the Data Provider in the Area chart.
In the chart on top of this page there are 4 columns selected, and they stack by default. To do this, just select the data provider, a label column, and select the 4 columns you want to display.
And that is all you need to do to get an area chart set up. But of course, you customize much more in the Settings PanelSettings Panel - The Settings Panel is where you can configure every property of a design element. By default this is displayed, when clicking an element when you're in the Budibase Design Section, on the right.. To read more about further customization, check the reference table below.
Numeric Data Only
Of course, line charts need to have a scale, so for the data column(s), you can only select Numeric columns
The settings panel has quite a few customization options, allowing you to get the most out of your bar chart.
The Data Provider as a parent of your chart
The Labels you want to display with your data. These are displayed on the X-axis
The data you want to display as lines. This has to be numeric. Can be multiple
Will divide labels by thousand or million on the axis and adds a
The labels you want to display next to the Y and X-axis.
The size you want the chart to be, supports all CSS supported sizes
Choose from one of the predefined colour-palettes
The type of line you want to have.
Will display the value on every point on the graph
Will animate when the data changes or on startup. Data-change can happen through Dynamic filter's for example.
Will display, in the upper-right corner, the label for each of the data columns displayed on the chart
Check this setting to have the different data columns stacked, which means they won't overlay but be stacked on top of each other.
Updated about 2 months ago