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

Configuring pointer cap size

2 Answers 87 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 19 Apr 2012, 02:58 PM
Hi,
I've been using the radial gauge and it can be quite hard to see the pointer on small gauges. I'm trying to see whether adjusting the size of the pointer 'cap' parameter will help but I can't work out how to adjust it. The online documentation states you can adjust the 'size' with a string value that is the 'size of the cap in percents'. Everything I try seems to put the browser into a hard loop. Do you have an example of how to set the cap size?

Also, does the cap size parameter just change the diameter of the central pointer cap or does it also change the width of the pointer as well (to make it more readable)?

Thanks, Ian 

2 Answers, 1 is accepted

Sort by
0
Accepted
Hristo Germanov
Telerik team
answered on 19 Apr 2012, 04:05 PM
Hi Lan,

Thank you for reporting these issues.

1. The documentation of the radial gauge is updated.
2. The problem with the infinite loop in the radial gauge is fixed.

Here is an example how to change the cap size of the radial gauge:

....
pointer: {
   cap: {
      size: 0.5
   }
}
....
Please note that the cap size is from 0 to 1.

I have updated your points.

Greetings,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ian
Top achievements
Rank 1
answered on 19 Apr 2012, 04:48 PM
Hi Hristo,
That works fine now. Thanks for the quick reply. 
 

Regards, Ian
Tags
Gauges
Asked by
Ian
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Ian
Top achievements
Rank 1
Share this question
or