This is a migrated thread and some comments may be shown as answers.

Hiding or overwriting label values that are undefined or null

1 Answer 535 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Harald
Top achievements
Rank 1
Harald asked on 16 May 2017, 09:07 PM

Hello,

I have a chart with multiple series and different types. When I am using a rangeColumn and the value is'nt defined, the label shows undefined or null.

Is it possible to filter the labels and to hide or to overwrite only the labels for undefined or null values? If I am seeing it correctly, the label visibility is connected to the whole series, but I need to control the visibility for each value.

 

Thank you for your help.

Best regards

Harald

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 18 May 2017, 07:48 AM
Hi Harald,

To achieve the expected result you should use custom JavaScript in the series.labels.visible function. Take a look at this dojo which demonstrates a possible implementation. 

Regards,
Iliana Nikolova
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Charts
Asked by
Harald
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or