This sample illustrates global population trends from 1950 to 2100, with solid lines representing historical data and dashed lines for projections.
In this example, you will see how to render and configure the line chart. Line charts are used to represent time-dependent data, showing trends in data at equal intervals. You can use DashArray, Width, Fill properties to customize the line. Tooltips are enabled in this example.To see the tooltip in action, hover a point or tap on a point in touch enabled devices. Injecting Module Chart component features are segregated into individual feature-wise modules. To use line series, we need to inject LineSeries module using Chart.Inject(LineSeries) method. More information on the dashed line series can be found in this documentation section.