Under Category axis settings, we can format the axis labels, axis title, axis line, hide/unhide axis etc. Let’s see some of them
When we enable attribute forms for an attribute in the chart, then by default attribute form [id in particular] will be enabled on the chart as well.
In case if we want to turn off the attribute form for axis label, then disable ‘show attribute id’ checkbox in the property editor here: Axis > Category Axis > Label
To know more about attribute forms in axis labels click here
From the 4.8 version of VitaraCharts, rotation for category axis labels can be applied independently at each level. This means when we have 2 attributes in the chart, we can set the axis label rotation for both levels independently. And in the same way, when we have 3 attributes, we can set axis label rotation independently for 3 levels. This ability is available for all charts that have horizontal category axis labels. Let’s see this with an example below
We have a Column chart with 2 attributes [Quarter, Month] and a metric.
See the screenshot below
In the above screenshot, category axis labels at two levels rotated to some value by default according to the available space.
Now we can force the labels to rotate at a different value for each level. For example, for level 1 = 0, level 2 = -90. And see the change in the chart below
And let’s say we have 3 attributes [year, quarter, month]. We set the rotation for level 1 = -90, level 2 = -45, level 3 = 0. See the screenshot below
Under value axis settings also, we can format the axis labels, axis title, axis line, hide/unhide axis etc. Let’s see some of them
Just like we have ‘use metric formatting’ option for data labels, there is an option added for value axis labels also. This option is available in Axes > Value axis > Label tab of the property editor. See the screenshot below
This property is linked with the ‘metric format’ property available in data labels. That means, if you enable this property, the value axis labels take the formatting of the data labels.
To understand this, let’s take an example of the below screenshot
If you have noticed the above screenshot, the datalabels format and axis labels format are different. Now if you need the same format for axis labels also, then enable ‘use metric formatting’ checkbox under the value axis tab. Then chart looks the below way
See the below screenshot
From 4.3 version, a setting is added as a feature in Axes tab called ‘Tick interval’. This feature helps to customise the scale of the value axis.
This setting is available in Axes > Value axis > Other. This setting can be made for both the primary and secondary axes. See the screenshot below
Let’s see this setting with the example below. We have a bar chart with 2 attributes and 2 metrics.
The default tick interval in the above chart is 2M(2 millions). Now we will customize the tick interval to 1M(1 million). For this to happen, just put ‘1000000’ in the tick interval textbox.
See the screenshot below which shows the chart with an updated tick interval.
Setting up the tick interval for values in % format:
Below is a column chart with metrics in percentage format.
The default tick interval for the above chart is 10%. Now we will customize the tick interval to 5%. For this to happen, we have to put ‘0.05’ the tick interval textbox instead of ‘5%’
See the below screenshot which shows the updated tick interval
We can set up start and end values for the value axis. Start or end value can be specified using either a metric or fixed value or on percentile basis.
These properties are available in Axes > Value Axis > [Start Value, End Value].
See the screenshot of the property editor.
Let us discuss start/end values with an example below
In the above screenshot, all the four bar values are more than 30.7% and less than 31.2%. So, there is no benefit of the bars starting all the way from 0%. So, if we set the start value to 30.7%(0.307) and end value to 31.2%(0.312), the values can be analysed well.
See the screenshot where start and end values are specified.
And after specifying the start & end values, the chart looks like the below screenshot
From version 5.1 , The primary and secondary axes are now synchronized via a new feature that we have added. We must enable the secondary axis for one of the metrics under the series tab in order to enable the new feature.
The primary and secondary axes values are aligned in the screenshot below.
From version 5.1, We have added new features to the label’s property that allow us to customize the labels by truncating or wrapping them.
We can also control the labels from the value axis category in case of Bubble and Heatmap Charts.