Select to view content in your preferred language

Gauge Styles?

958
2
Jump to solution
09-24-2012 10:56 AM
AaronWeier
Regular Contributor
Hi Javascripters,

Is it possible to change the style of the gauge dijit?

Any Esri staff out there able to comment on future styles or styling options with CSS?

If no other style options are available, is there a way to add tick marks and value labels to the current gauge?

thanks for any guidance.

Aaron
0 Kudos
1 Solution

Accepted Solutions
derekswingley1
Deactivated User
Hi Aaron,

Both of the Gauge samples we've published use dataFormat: "value" in the options for the Gauge(s).

If you use dataFormat: "percentage", you get some ticks w/labels on the gauge. Here's an example:  http://jsfiddle.net/NvVrj/

Does that fit with what you want to do?

View solution in original post

0 Kudos
2 Replies
derekswingley1
Deactivated User
Hi Aaron,

Both of the Gauge samples we've published use dataFormat: "value" in the options for the Gauge(s).

If you use dataFormat: "percentage", you get some ticks w/labels on the gauge. Here's an example:  http://jsfiddle.net/NvVrj/

Does that fit with what you want to do?
0 Kudos
AaronWeier
Regular Contributor
Thanks Derek!
0 Kudos