The slope graph represents a change in the value of a metric for a given attribute value over time. So each (sloping) line is represented by two points; one at the starting value of time and others at the ending value of time. When more than two values of time are provided, all points are plotted as in a line chart. A label showing percentage variation between two consecutive points is displayed(optional) along the slope-line joining the points.
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
We can format the data label and variation. You can see the attached screenshots below.
We have an option to enable/disable the All, Value and Variation Data labels.
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: From 4.6 version we can apply thresholds using attributes. The source drop down box in the threshold editor window will list all the attributes and metrics in the chart. we can select an attribute as source and define a threshold condition. The target of the threshold depends on the series of the chart. This means, if the chart series is created using metrics then target drop down box will display the metrics. If we enabled ‘color by’ mode, by adding an attribute to the ‘color by’ drop zone in the dossier’s editor panel, the chart series will be created using attributes. In this case the threshold target drop down box will show all the elements of attribute used in the color by drop zone. In this case we can set threshold target using attribute.
In the threshold editor window apply source, target, threshold condition and the other related information to set a threshold on the chart.
After giving all inputs click on ‘Apply’ button.
At the starting value point and ending value point, the marker is displayed. These markers type and size are customizable.
We can set reference lines in slope chart. The steps to set plot lines /reference lines are explained in plotlines
The steps to set a background image for all Vitara charts are explained in backgroundImage.
Slope chart supports small multiples feature. Small multiples is explained in smallMultiples.