pitS
1
How could be the text color of “value=400” changed?
fig = go.Figure(go.Indicator(
mode = “number+delta”,
value = 400,
number = {‘prefix’: “$”},
delta = {‘position’: “top”, ‘reference’: 320},
domain = {‘x’: [0, 1], ‘y’: [0, 1]}))
fig.update_layout(paper_bgcolor = “lightgray”)
fig.show()
Hello @pitS
number = {'prefix':'$', 'font':{'size':30}}
1 Like
pitS
3
Hi Sachin, i was interested in, how to change the color of the test, not its size.
ajo9
4
Try this
number={‘suffix’: “%”,‘font’:{‘size’:50,‘color’:‘blue’}}