Closed bklingen closed 3 years ago
That's a bug, format_num
return a JavaScript function as character and proxy doesn't know that it need to be evaluated.
It's fixed if you re-install from GitHub.
Victor
Great, thanks, it works perfectly now! Just stating that
formatter = htmlwidgets::JS("function(value) {return value.toFixed(2);}")
works as well to update the format.
Updating the maximum of the x-axis works perfectly fine in shiny (press the "Update Max" button), but updating the format of the x-axis label labels does not seem to work. Pressing the "Update Format" button does not redraw the graph, in fact, the graph disappears.