Closed learning-freak closed 3 years ago
Hello @learning-freak
#graph
df %>%
hchart('column', hcaes(x = dose, y = len))%>%
hc_exporting(
enabled = TRUE,
buttons = list(
contextButton = list(
symbol = NULL,
menuItems = NULL,
text = 'mybutton',
onclick = JS("
function() {
this.exportChart({
type: 'image/png'
});
}
"),
theme = list(
stroke = 'red',
states = list(
hover = list(
fill = "blue"
)
)
)
)
)
)
Kind regards
I would like to change the text color and the background color of a button (for example : text in red and background color in blue) using the function navigation (see here : https://api.highcharts.com/highmaps/navigation) but can not find how to do it from highcharter.
Here is my example :
How can we change text color and background color of a button with Highcharter ?