Closed lichangzai closed 7 years ago
It seems you want to get scatter plot from recharts
package.
you need to re-install the newly updated package from Github:
require(devtools)
install_github('recharts', 'taiyun')
And then execute the following code:
library(recharts)
ePoints( dat=iris, xvar=~Sepal.Length, yvar=~Sepal.Width, series = ~Species)
At present, you need to clarify the chart type in your plot code as the following examples: eBar for bar chart; ePoints for scatter chart; eMap for map; eLine for line chart; eRadar for radar chart; ePie for pie chart; eArea for erea chart;
and some other chart type will be added in later
以后可以统一用略紧凑的语法 devtools::install_github('taiyun/recharts')