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