I have a plot of gauge and indicator as present in the code:
figGuqge2 = go.Figure()
figGuqge2.add_trace(go.Indicator(
mode = “gauge+number”,
value = oil_rate[-1],
title = {‘text’: “Prodction”},
domain = {‘x’: [0, 1], ‘y’: [0.5, 1]},))figGuqge2.add_trace(go.Indicator( mode = "number+delta", value = oil_rate[-1], title = {"text": "<br>Privision<br><span style='font-size:0.8em;color:gray'>"+str(FieldPrivision/1000)+"K</span>"}, delta = {'reference': FieldPrivision, 'relative': True, 'valueformat':".2%"}, domain = {'x': [0, 1], 'y': [0, 0.4]}))
I tried to use <br>
in the title and so the domain to separate between it works in some cases but not all
title = {"text": "<br>Privision<br><span style='font-size:0.8em;color:gray'>"+str(FieldPrivision/1000)+"K</span>"},
So what should I do to solve this?