Friday, 15 August 2014

javascript - Dojo Gauges - can I restrict the settable values? -


I have an interactive dojon gauge with a range from 0 to 100. But I want my users to still need 0, 25, 50, 75 and 100 needles. Is this possible?

  // gauge square gauge = create new dosox. Glossary gauge ([background: [255, 255, 255, 0], color: color, id: "gauge_" + object, width: 150, height: 150, value: item progress, no change: In in (), mainstick interval: 25}, dojo.ed ("gazdiv_" + item)); Gauge.startup ();   

Cheers, JP

First of all I dojose / dojose / Thanks to gauges, these are the only well-formed gauges in the toolkit nowadays. Second with Dual / DuGues, you can set the snap interval of your Ryder Eslar to 25 and you should get the expected behavior.

No comments:

Post a Comment