-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Morphing possible between scatter and aggregated bar charts? #465
Comments
@rdatasculptor, calculating averages is on the data preparation stage, not related to visualization. |
@helgasoft yes, I am aware of the possibilities within R itself, but with that approach there is no real morph. In the example of echarts the bars seem to be build of all the pieces of data the avarage is taken from. So the issue I am aimin at is the smoothness of the trainsition of scatter plot into the bar chart. If I have some more time I will show what I mean with an example. |
Could be integrated but evaluating R code via htmlwidgets is less than ideal, is it for shiny or Rmd? |
It's for Rmd. (I always intend to not be too dependent on shiny, and thanks too echarts4r I succeed very often :)) |
Hi @JohnCoene! I don't know if it is of any worth, but using
Maybe it generates new ideas? Somehow the charts should be connected by id's and dataGroupIds. I guess I can add them to the lists programmattically, but haven't succeeded yet in doing that properly (in finding a generic way) |
Another attempt with an example script of my own. Obviously I overlook something or I misunderstand the docs about universal transition, but using
|
Hi @JohnCoene, sorry for bothering you again, but I kind of succeeded in making a smooth transition between a scatter plot and a bar chart. (@helgasoft put me in the right direction). I still don't know exactly what I am doing, but it works.... :) Here is a wokring example of the smooth transition:
|
If someone can find a solution for not being able to morph between bar charts and scatter plots using echart4r (@munoztd0 .. :)), well, for me he earns the nobel prize .... |
In my imagination we just give the scatterplot and the bar chart that should be morphed into one another the same "morph id". Under the hood echarts4r takes care of all the necessary echarts settings :). Experimented with it, but haven't made it work yet. |
Hi @JohnCoene!
Just wondering. Do you think it is possible to use the new morph-function for a tranistion between a scatter plot and a bar plot?
This is an example of what I mean. It uses an avarage calculation function and uses it as a value in data, but I have no idea how to incoporate this in in echarts4r.
Thanks in advance!
The text was updated successfully, but these errors were encountered: