Slope Chart

The slope graph depicts the change in metric value for a particular attribute value over time. As a result, each (sloping) line is represented by two points, one at the beginning and one at the end of time. When more than two time values are specified, all points are plotted in a line chart fashion. Along the slope-line connecting the points, a label displaying the percentage variation between two successive points is presented (optional).

Inputs

Metrics: 1 metric.

Attributes: 2 attributes.

One attribute must be the time that is plotted along the x-axis. The second attribute is used to categorize input data.

Use as Filter Option - Available

slope inputs

Data labels

We can format the data label and variation. You can see the attached screenshots below.

Slope inputs

We have an option to enable/disable the All, Value and Variation Data labels.

Slope inputs

Thresholds

In the business point of view, certain part of the chart needs to be highlighted to draw more attention from the desicion makers. For example, highlight the stores where total sales is greater than a specific value or highlight the top 10 products whose sales is high during last year’s winter. Thresholds are very useful objects in these use cases.

Thresholds will display some conditional formatting in a chart to highlight certain data points depending on predefined criteria.The criteria are attribute or metric qualifications. If a qualification’s expression evaluates to TRUE, the report displays the threshold. We can also include markers in thresholds.

To apply thresholds in vitara charts, hover the cursor on the chart. Vitara chart will display an ‘Edit’ button. When you click on this ‘Edit’ button the properties window will pop out. Select the thresholds tab to open threshold editor. In the window you can add a new threshold or delete any existing threshold or modify the existing threshold.

Note: As of version 4.6, we can use characteristics to impose thresholds. All the measurements and attributes in the chart are listed in the source drop-down box in the threshold editing window. We can choose a source attribute and specify a threshold condition. The series of the chart determines the threshold’s aim. This indicates that the metrics will be displayed in the target drop-down box if the chart series was generated using metrics. The chart series will be constructed using attributes if “colour by” mode is enabled by adding an attribute to the “colour by” drop zone in the dossier’s editor panel. In this instance, all the attribute elements used in the colour by drop zone are displayed in the threshold target drop down box. In this case we can set threshold target using attribute.

slope add threshold

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

slope threshold condition

After giving all inputs click on ‘Apply’ button.

From version 4.9.0, we can use pattern fill in thresholds (Grid/Square/Double Square/Slash), certain part of the chart can be filled with a pattern.

threshold

threshold

Markers

At the starting value point and ending value point, the marker is displayed. These markers type and size are customizable.

Plot lines / Reference Lines

We can set reference lines in slope chart. The steps to set plot lines /reference lines are explained in plotlines

Background Image

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

Small Multiples

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