Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1490
set lable value
posted

Hi, please refer to my attached png.    You can find lable values, such as :  0 , 250 , 500 ,750 ... 2500 .  That's because I set labelInterval=250.

But I have the requirement to set range's end value ,  the range property I defined is below :

ranges: [
{ name: "range1", brush: "rgba(142, 199, 8, 1)", startValue: "0", endValue: "500"},
{ name: "range2", brush: "rgba(235, 217, 11, 1)", startValue: "500", endValue: "900"},
{ name: "range3", brush: "rgba(62, 211, 205, 1)", startValue: "900", endValue: "1600"},
{ name: "range4", brush: "rgba(206, 109, 240, 1)", startValue: "1600", endValue: "2100"},
{ name: "range5", brush: "rgba(233, 52, 61, 1)", startValue: "2100", endValue: "2500" }
]

I just want to show numbers :  0 , 500 ,900 , 1600 ,2100 ,2500 .   not the numbers I set by labelInterval . 

Do I make mysefy clearly?   Thanks in advance.

Parents Reply Children
No Data