Line Chart

A line chart or line graph is a type of chart that displays information as a series of data points called ‘markers’ connected by straight line segments. It is a basic type of chart common in many fields.

Inputs

Metrics - 1 or more metrics can be used

Attributes - 1 or more attributes can be used.

Use as Filter Option - Available

line inputs

area inputs

Markers

We can set thresholds on metrics using any criteria to show specific colors on the chart. We can also include markers in thresholds. Open the property editor by clicking on the ‘Edit’ button and select the ‘Threshold’ tab. In the threshold, the editor window applies source, target, threshold condition and the other related information to set a threshold on the chart.

line inputs

Series

We can turn the line/area chart into the combinational chart by changing the ‘series type’ in the ‘series’ tab.

line inputs

Line chart

Line chart - line type options like dashed line, dotted line.

From the 4.5 version of Vitara charts, the line options are introduced in Line, Area and Sparkline charts. Line width, Line style and Line Style are the 3 options introduced. Below are the screenshots with the line options. Line width - 2 Line width - Blue Line style - ShortDashDot

line inputs

line inputs

Thresholds

We can set thresholds on metrics using any criteria to show specific colors on the chart. We can include markers in thresholds. We can also enable data labels for only the values which are highlighted in thresholds. Open the property editor by clicking on the ‘Edit’ button and select the ‘Threshold’ tab.

line threshold add

In the threshold editor window apply source, target, threshold condition and the other related information to set a threshold on the chart.

line threshold condition

After giving all the inputs click on ‘Apply’ button.

Play-by Animation

Play by - animation shows the chart for each element of the first attribute. For more details about the play by feature please refer to play-by.

Background Image

The steps to set a background image for all Vitara charts are explained in backgroundImage.

Small Multiples

Line chart supports small multiples feature. Small multiples feature is explained in smallMultiples.

Data Markers

From the version 4.4, data markers feature is introduced in the Line/Area charts. To know about Data Markers feature please click Here.