Graphael line chart [closed]

梦想的初衷 提交于 2019-12-02 20:31:16
Smerity

A useful resource has been Kenny Shen's GitHub repository where he has begun writing up both documentation and examples for gRaphael.

https://github.com/qoelet/g.raphael

As an example check out the line chart documentation here

The best example of a Raphael linechart must be this one: http://g.raphaeljs.com/linechart.html, from the source code you can get a lot of information on how they work and how they can be configured.

As far as I know there is no official documentation on this (yet?).

Alex

To change the stacking of the lines, use the toFront and toBack functions.

linechart.lines[index].toFront();

You could also check out RaphAlytics since it gives you quite a few options you can customize as well as the freedom to use multiple lines in the same graph and textual labels (which, unfortunately, gRaphael does not)

Check it out over here: https://github.com/tataencu/raphalytics

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!