We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assuming I have a custom theme file custom-theme.json with the following:
custom-theme.json
{ "toolbox": { "feature": { "dataZoom": { "yAxisIndex": "none" }, "restore": {} } } }
and then run:
library(echarts4r) d <- data.frame( x = 1:10, y = 1:10 ) d |> e_chart(x = x) |> e_line(y) |> e_theme_custom("custom-theme.json")
I get the following plot without datazoom:
But this works as expected:
library(echarts4r) opts <- list( xAxis = list( type = "value", data = d$x ), yAxis = list( type = "value" ), series = list( list( type = "line", data = d$y ) ), toolbox = list( feature = list( dataZoom = list( yAxisIndex = "none" ), restore = list( ) ) ) ) e_charts() |> e_list(opts)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Assuming I have a custom theme file
custom-theme.json
with the following:and then run:
I get the following plot without datazoom:
But this works as expected:
The text was updated successfully, but these errors were encountered: