I've tried opposite = TRUE in the hc_xAxis but it's not doing anything. I want to move the xAxis labels from the top of the chart to display along the bottom. I know I can offset but it's messy and leaves a gap at the top of the chart. Opposite = TRUE does work in the yAxis label. Can't get themes or hc_colorAxis to apply either. Anyone had this before?
hc <- hchart(cor(tester)) %>%
hc_xAxis(opposite = TRUE, reverse = TRUE) %>%
hc_yAxis(opposite = TRUE) %>%
hc_plotOptions(
series = list(
dataLabels = list(
enabled = TRUE,
formatter = JS("function(){
return Highcharts.numberFormat(this.point.value, 2);
}")
)
)
) %>%
hc_add_theme(hc_theme_smpl())
return(hc)
I've tried opposite = TRUE in the hc_xAxis but it's not doing anything. I want to move the xAxis labels from the top of the chart to display along the bottom. I know I can offset but it's messy and leaves a gap at the top of the chart. Opposite = TRUE does work in the yAxis label. Can't get themes or hc_colorAxis to apply either. Anyone had this before?