According to this, I thought I could change the max value shown in the visual map like so:
e_visual_map(value, max = 100)
But this seems to have no effect.
Here is a full example:
library(echarts4r)
# Sample data
df <- data.frame(
category = c("Low Avg", "High Avg", "Low Avg", "High Avg"),
max = c("Low Max", "High Max", "High Max", "Low Max"),
value = c(10, 40, 20, 30) # replace with your actual values
)
df |>
e_charts(category) |>
e_heatmap(max, value, ) |>
e_visual_map(value, max = 100) |>
e_x_axis(max, type = "category") |>
e_y_axis(category, type = "category")
I expect the slider max value to be 100 instead of 40.