Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

How to format yaxis ticks for a specific trace

Given a bar chart with two traces, how can I format the second trace as a dollar amount?

For example, I want to format the “Sum” as a dollar amount ($nn.nn)
http://codepen.io/jemminger/pen/aJggoO?editors=0010

[SOLVED]:

Found a solution using hoverinfo: "text" : http://codepen.io/jemminger/pen/QpXXvo

Based off this: http://codepen.io/etpinard/pen/BzQjMz?editors=0010

1 Like