Data Cards / Big Numbers with Go.Indicator - change text color

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

Hi Sachin, i was interested in, how to change the color of the test, not its size.

Try this

number={‘suffix’: “%”,‘font’:{‘size’:50,‘color’:‘blue’}}