Giter Club home page Giter Club logo

Comments (10)

taiyun avatar taiyun commented on July 17, 2024

编码问题,萌萌来看看?

from recharts.

badbye avatar badbye commented on July 17, 2024

error

回复好快~ 附个图,看起来不只是编码的问题

from recharts.

taiyun avatar taiyun commented on July 17, 2024

就是编码问题。tmcn包可以来解围了。

from recharts.

badbye avatar badbye commented on July 17, 2024

我去,果然是.ChinaGDP下载过来不能正常显示,用toUTF8把行名和列名转换了一下,都正常了~

from recharts.

badbye avatar badbye commented on July 17, 2024

另外提个小建议:是否可以把不同的变量分行显示,目前是三个变量名同行显示,变量值竟然加总显示.

from recharts.

taiyun avatar taiyun commented on July 17, 2024

神马意思?

from recharts.

badbye avatar badbye commented on July 17, 2024

鼠标事件的效果目前是这样:
1

我的想法是这样:
2
其实图例开关也可以方便查看每个指标的值,但强迫症患者总觉得分行展示更美.下了源码看,我自己先试试能不能改~

from recharts.

taiyun avatar taiyun commented on July 17, 2024

肯定可以。

看这里: http://echarts.baidu.com/doc/example.html

然后把Json对应到list

from recharts.

yihui avatar yihui commented on July 17, 2024

@badbye 欢迎提交第一个Pull request!

@taiyun @yummyZhou Sys.setlocale("LC_CTYPE", "chs")这个搞法不太对,不过我现在也没空来搅和,编码问题一般用iconv()来对付,但首先要保证源头上读进来是对的编码,可参考 https://github.com/yihui/knitr/blob/master/R/utils.R#L411-L434 或者等过两周我答辩完了来看。

from recharts.

taiyun avatar taiyun commented on July 17, 2024

李舰的tmcn包可以搞定! 你先别急。

from recharts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.