Data label customization

In 4.2 release customization of data, labels has been introduced. We can modify the default data labels using text and dynamic macros for data. Below is the screenshot of the data labels editor window.

datalabel_customization1

Hover the cursor over the ‘i’ symbol to see the available macros for any particular chart. Below is the screenshot.

datalabel_customization2

In the editor window type ‘&’ character and you will see macro suggestions. Select the macros and click on ‘“Apply” tab.

For example, the default macros in the above screenshot is &[point.value], So the chart shows the metric value at each data-point. See the screenshot below:
Macros1

Now we will use custom macros in this way &[point.metricName]: &[point.value], point.metricname is colored red. And the data labels will display this way now. See the screenshot below:
Macros2

In this way, users can use either text or other macros or combination of both in many possible ways.

Show Overlapping Data Labels

From 4.1 version, all vitara charts are added with the support to show the overlapping data labels. This feature is added in data labels tab with ‘Show Overlapping Labels’ checkbox.
Overlap_labels1

For example, in line chart when you enable data labels, only few labels are shown on the chart respective to the space available between the datapoints. See the screenshot below:
Overlap_labels2

Now, the new feature allows to forcefully show all the data labels. To do this, go to data labels tab and enable the ‘Show Overlapping Labels’ checkbox. See the screenshot below:
Overlap_labels3

Attribute forms in Data labels

For Data labels, now we can choose a particular attribute form to display on the chart. And we can select the attribute form macros only for the last attribute in the chart.
For example, if there are two attributes ‘category’ and ‘subcategory’, both enabled with attribute forms. Then, we can display the attribute forms only for ‘subcategory’ attribute in the chart.
To display the attribute forms in the data labels, use &[point.category@DESC] or &[point.category@ID] or both macros based on the requirement. See the screenshot
Attribute_forms