Page History
Anchor | ||||
---|---|---|---|---|
|
Table of Contents | ||
---|---|---|
|
Overview
Styleclass | ||
---|---|---|
| ||
HTML |
---|
<iframe width="700" height="394" src="https://www.youtube.com/embed/0ZAY1dZ_kdo?color=white" frameborder="0" allowfullscreen></iframe> |
Enabling this option when using a date or timestamp as a Label in a chart also provides additional functionality:
- Yearly Comparison
- Units
- Visible Unit Selection
- Date Slider
These functions are discussed below.
Yearly Comparison
Styleclass | ||
---|---|---|
| ||
- Enable Yearly Comparison through the chart Settings menu
- Your line chart will now appear with a seperate line for each available year
Units
Styleclass | ||
---|---|---|
| ||
- Select the desired Units (granularity) in the chart Settings menu
Visible Unit Selection
Styleclass | ||
---|---|---|
| ||
- Enable the Visible Unit Selection option through the chart Settings menu
- Your chart will now have a list of available units for the user to select from
Date Slider
Styleclass | ||
---|---|---|
| ||
HTML |
---|
<iframe width="700" height="394" src="https://www.youtube.com/embed/-l7KRn7P2Q4?color=white" frameborder="0" allowfullscreen></iframe> |
- Enable the Date Slider option through the chart Settings menu
- Your chart will now have a slider the user can manipulate to view subsets of the data
Date Format Options
Change the date format on your charts to a different style. This is available for all charts that support time series.
Type | Description | Format/Example |
---|---|---|
Report | This shows the date format as it is in the report. For example, if the date is in a numeric format, then it will be displayed as dd/mm/yyyy here. Note: This format can only be selected for continuous time series. | |
Long | Shows the full name of the selected date unit. For example, if month is the selected unit, it will display the full name of the month. | E.g.: Monday, August, or Quarter 1. |
Short | Shows the shorter version of the selected date unit. Note: Some time units have no difference between their long and short versions, such as Year. | E.g.: Mon, Aug, or Q1. |
Create a report with at least one date value.
Navigate to the chart section.
Select a chart that supports the time series. Ensure that you use the date field.
Click on the series setting button in the chart builder’s header.
Select the date field from the left side panel.
Choose and apply a date format.
Display Metric in Colour Field
You can add a metric value to the colour field when creating a time series chart. This will allow the metric field’s values to be represented in the chart with the help of colours.
- Create a time series chart, using a time value. (You may want to select a non-auto chart which best distinguishes between colours, such as a bar chart.)
- Turn on the time series through the time field’s menu, by selecting Time Series and then On.
- Drag a metric field to the colour field in your chart builder.
- The colours of the chart data will change according to the value of the applied metric field. A legend will also appear at the bottom to help distinguish between the colour range.
- As seen in our example above, the 2017 bar has an average age of 24, and is therefore a lighter shade of colour than the 2010 bar which has an average age of 33.
horizontalrule |
---|
Styleclass | ||
---|---|---|
| ||