Line Chart
lowcodera Line chart component
Purpose
Line graphs are used to track changes over short and long periods of time. When smaller changes exist, line graphs are better to use than bar graphs. Line graphs can also be used to compare changes over the same period of time for more than one group.
Variations
There are several variations of Line charts which are supported through the configuration of data and component properties.
Basic Line Chart
Spline Line Chart
Step line Line Chart
Dashed Line Chart
Gradient Line Chart
Working with Data
The data format for the Line chart is the same as for other Lowcodera charts. You can bind your chart component's items
property to a Power Apps collection which includes either static data or dynamic data e.g. SharePoint.
In this example, a collection with static data called LineChartColBasics
is defined in the Power App. The items
property of the line chart component is then bound to this collection.
The above code snippet will generate the following line chart.
Chart Properties
For a full listing of all chart properties see the chart components property reference
The properties below are the main ones which change this components appearance and behaviours.
Property | Description | Accepted Values | Required |
LineType | Property to show different types of lines | Smooth Stepline Straight | X |
DataLabelSymbol | Property to add any symbol (eg. currency or any appened words) along with data labels | Text | X |
ShowReversed | Property to represent the Y-Axis from the right side | Boolean | X |
FillType | Property to choose fill type for lines. | Gradient Image Solid | X |
BackgroundImage | Property to provide background image URL for lines | URL | X |
Examples
Spline Line Chart
A single or multiple data series is defined in the collection. You can use the same collection used in section.
Stepline Line Chart
More than one data series is defined in the data collection
Dashed Line Chart
More than one data series is defined in the data collection.
Gradient Line Chart
More than one data series is defined in the data collection.
Last updated