Skip to content
+

Charts - Line demonstration

This page groups demonstration using line charts.

SimpleLineChart

Page APage BPage CPage DPage EPage FPage G02,0004,0006,0008,00010,000
Press Enter to start editing
Page APage BPage CPage DPage EPage FPage G02,0004,0006,0008,00010,000
Page APage BPage CPage DPage EPage FPage G02,0004,0006,0008,00010,0001,5002,0002,5003,0003,5004,000
Press Enter to start editing
Max PV PAGEMaxPage APage BPage CPage DPage EPage FPage G02,0004,0006,0008,00010,000
Press Enter to start editing

Line with forecast

To show that parts of the data have different meanings, you can render stylised lines for each of them.

In the following example, the chart shows a dotted line to exemplify that the data is estimated. To do so, the slots.line is set with a custom components that render the default line twice.

  • The first one is clipped to show known values (from the left of the chart to the limit).
  • The second one is clipped to show predictions (from the limit to the right of the chart) with dash styling.
0123456780246
Press Enter to start editing

API

See the documentation below for a complete reference to all of the props and classes available to the components mentioned here.