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

[Solved] Hiding Item Values from Legends

1 Answer 103 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Radu
Top achievements
Rank 1
Radu asked on 07 Oct 2017, 03:38 PM

In the examples shown for the pie chart for Angular, there is a screenshot that shows two pie charts and two donut charts. In each case, one of the two charts includes a legend that does not display the actual values, but just the item labels. How can I achieve this behavior? The code associated with these screenshots only covers two of the four charts shown in the screenshot and I could not identify a setting associated with what I need, nor could I find one in the documentation.

Thank you,

Radu Nicoara

1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 09 Oct 2017, 06:53 AM
Radu Nicoara,

There are some differences in the way EadListView is behaving by design on iOS and on Android.
The screenshots in the pie chart documentation page are actually showing the expected result on Android (to the left with values) and on iOS (to the right without values). As there are some conceptual differences in the used native controls this is the only possibility at this very moment for both platforms.
So that said you can expect that on Android the RadLegendView will show you both the valuesProperty and the legendLabel values, while on iOS it will only display the values of legendLabel.

Regards,
Nikolay Iliev
Progress Telerik
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
Tags
Chart
Asked by
Radu
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or