Skip to content
New issue

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

e_scatter using data only from column y #477

Open
ghost opened this issue Oct 16, 2022 · 0 comments
Open

e_scatter using data only from column y #477

ghost opened this issue Oct 16, 2022 · 0 comments
Labels
good first issue Good for newcomers Help Someone needs help

Comments

@ghost
Copy link

ghost commented Oct 16, 2022

This seems strange to me, is it a bug or something to do with a scatter plot I'm not understanding?

e_line plots the data in z as selected:
library(echarts4r); data.frame(x=1:10, y=20:11, z=11:20) |> e_charts(x=x) |> e_line(z)

e_scatter plots the data in z when there's no column y in the data.frame:
data.frame(x=1:10, z=11:20) |> e_charts(x=x) |> e_scatter(z)

but e_scatter only plots the data in y, despite the selection of only z, when y is in the data.frame:
data.frame(x=1:10, y=20:11, z=11:20) |> e_charts(x=x) |> e_scatter(z)

e_scatter_ behaves similarly, e_effect_scatter does not

Thanks.

@munoztd0 munoztd0 added good first issue Good for newcomers Help Someone needs help labels Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Help Someone needs help
Projects
None yet
Development

No branches or pull requests

1 participant