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

choropleth custom legend grouping

2 Answers 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Omar
Top achievements
Rank 1
Omar asked on 30 Aug 2018, 03:23 PM

Hi,

when using the choropleth map wizard and select range grouping = EqualInterval.

Is there a way to control the number that is instead of 4560 - 10599, to be changed to 4500 - 10 600.

I hope to get help soon.

Regards.

2 Answers, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 04 Sep 2018, 07:28 AM
Hello Omar,

The range numbers in the legend represent exactly the calculated range that determines each interval. It the number could be changed, then the interval won't be equal. However, if a better representation of the legend items is required, then the expression of the legend item value can be changed to show rounded values like this:
=Format('{0:N0} - {1:N0}', (CInt(RangeMin/100))*100, (CInt(RangeMax/100)*100))

This expression will round the range numbers in the legend up to the nearest 100. Please note that will not change the range of the intervals, but just the string representation that will be shown in the legend.

Hope this helps.

Regards,
Ivan Hristov
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Omar
Top achievements
Rank 1
answered on 12 Sep 2018, 02:10 AM
Many thanks.
Tags
General Discussions
Asked by
Omar
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Omar
Top achievements
Rank 1
Share this question
or