HTML Elements Forums Gauge Gauge color range width

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 9 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #99458

    hansT
    Participant

    Hello !

    I’ve been reading and testing a lot about your Gauge element. I must say it’s an amaizing widget really. Very customizable. I’ve been looking at the following demo https://www.htmlelements.com/demos/gauge/styling/. I’ve decided to used the second gauge called “needleGauge2”, but i want to change the width of the color range. I want it to be smaller. I’m pretty sure that can be done via CSS but i can’t figure it out. Can you please help ?

    Thank you !

    #99460

    Dimitar
    Participant

    Hello hansT,

    Here is how to set the width of the color ranges:

    <style type="text/css">
        #needleGauge2 .jqx-range {
            width: 15px;
        }
    </style>

    We hope this solution is helpful to you.

    Best regards,
    Dimitar

    Smart HTML Elements Team
    https://www.htmlelements.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.