Dash_daq gauge color

Hi,

I tried to set the min and max of Gauge from 80 and 120. Set the color ranges as "{“red”:[80,90],“yellow”:[90,110],“green”:[110,120]}. While the chart showed does not match what I set. Does anyone know how to fix it?

The chart showed as following:
21%20pm

The code as following:

# app layout
app.layout = html.Div([
    html.Div(
        children=daq.Gauge(
            color={
                "gradient": False,
                "ranges": {"red":[80,90],"yellow":[90,110],"green":[110,120]},
            },
            scale={'start': 80, 'interval': 5, 'labelInterval': 2},
            min=80,
            max=120,
            showCurrentValue=True,
            units="Unit",
            value=80,
        ),
        style={
            "textAlign": "center"
        },
    ),
])

It seems that this behavior is still happening in the current version. I guess the bug is that the color scales down to 0, instead of being constraint to min we are trying to use. Related entry here and GitHub Issue opened. Not a lot we can except pushing up the GitHub issue :slight_smile: