Prefix / Suffix for Delta in go.Indicator

For the number parameter, there is valueformat, prefix, and suffix

For the delta parameter, there is only valueformat.

Can I check if there’s anyway for me to add a prefix/suffix to delta, to make the two values comparable?

Ah, I think that was an oversight when we first built this… I’ve logged an issue for this but I don’t know when we’ll be able to get to it: https://github.com/plotly/plotly.js/issues/4824

Hi etjkai, could you please share the code part, how you add prefix and suffix to the number parameter. It would be very helpful. Thanks!

I submitted a PR to fill these missing options: Prefix / Suffix for Delta in Indicator · Issue #4824 · plotly/plotly.js · GitHub

Hopefully it will be accepted and merged.