Comments (6)
- 我的例子都是在Linux下生成的,我没在Windows下测试过这个包,我估计你可能需要安装开发版本的htmltools包:
devtools::install_github('rstudio/htmltools')
- 这个没有万能工具,取决于JSON的复杂程度,如果JSON里不包含JavaScript表达式(如函数),那么可以用
jsonlite::fromJSON()
将JSON字符串转化为R的list,多数情况下你很可能还是需要手动调整得到的R的结果
这个包我很可能在接下来的一年里不会继续开发,传list给echart()是最原始的调用ECharts的方法,和我预想的目标还差十万八千里,但我没时间去继续做这件事。
from recharts.
非常感谢!中文乱码的问题解决了~
from recharts.
hi!yihui~
我这两天使用echart遇到2个新问题,很抱歉又来当问题少年求教了。
1、请问echart()能否实现“混搭图”?如把折线图和柱形图画在一张图里。我使用了“折柱混搭”的代码(参见 http://echarts.baidu.com/doc/example/mix1.html ,改成R代码),结果只能显示series里先赋值的柱形图,不知道是函数本身不支持,还是混搭图的R代码有特殊技巧?
2、我想修改不同系列的颜色(如折线图中不同系列的折线颜色),发现使用代码“ option = list(color= 'blue')”图形颜色没有发生任何变化(itemStyle和lineStyle也测过,同样无效),是不是函数的使用不恰当?
from recharts.
不好意思,我不知道,目前也没有时间研究这些问题。
from recharts.
那我再研究下。非常感谢~
from recharts.
请教画图时中文乱码是如何解决的
from recharts.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recharts.