Plot lines/Reference lines

Note: The 4.6 version allows to draw plotlines using attributes. The source drop down box in the plotline editor window will list all the attributes and metrics in the chart. We can select an attribute as source and define a plotline condition.

The following charts have Plot lines/Reference lines feature: line, area, sparkline, bar, column, stacked bar, stacked column, bullet, tornado, column range, slope, dumbbell, bubble and histogram charts.

Go to the ‘Plot Lines’ tab in the property editor window and select the metric based on which you want to draw plotline in the ‘source’ drop down window.

Apply the conditions like min, max, avg, first, last, and percentile. Apart from these fixed conditions, you can give a particular value as input at which you want to draw a plot line. You can apply colors to plot line, change the plot line width, change the style of the line and title to the plot line. At last click on the ‘Apply’ button.

plot lines1

In 3.8 release, support for plotlines on the vertical axis is added in the bubble chart. Please refer the below screenshot showing plot lines/reference lines on both the horizontal and vertical axes.

plot lines2

Thresholds based on ‘Plot Lines/Reference Lines’:

Plot lines/Reference lines can be used in the ‘source’ field in thresholds.

plot lines3

Once we set the plot line in any Vitara chart, the name of the plot line will show up in the source field of the thresholds tab. We can set plot lines as a source in the thresholds. When we set a plot line as ‘Source’ in a threshold we can apply the condition ‘Above the line’ or ‘Below the line’ in the threshold.

plot lines4

Below is a screenshot of bubble chart in which two thresholds are applied based on the plotline “Plot line1: Avg of Revenue”. The first threshold is based on the condition ‘above the plotline set bubble color as the green color’ and in the second threshold ‘below the plotline set bubble color as red.’

plot lines5