Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

Indicator color and simbol Contradiction

There is a problem in the color (or simbol) when (in the indicator graph) the value is negative and the reference is also negative but grater than the value in absolute terms.
See the difference in the folloging graph example, in the second one the indictor is down but the color is green
In my case I need the color to change to red, and I used the ‘increasing’:{‘color’: change} to solved.

import plotly.graph_objects as go

fig = go.Figure()

fig.add_trace(go.Indicator(
mode = “number+delta”,
value = -200,
domain = {‘x’: [0, 0.5], ‘y’: [0, 0.5]},
delta = {‘reference’: -210, ‘relative’: True, ‘position’ : “top”}))

fig.add_trace(go.Indicator(
mode = “number+delta”,
value = -200,
delta = {‘reference’: 50, ‘relative’: True},
domain = {‘x’: [0, 0.5], ‘y’: [0.5, 1]}))

fig.show()

Figure