Skip to content
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

Rchart cubic curve example1.rb shows an error #14

Open
alvas opened this issue Aug 22, 2013 · 0 comments
Open

Rchart cubic curve example1.rb shows an error #14

alvas opened this issue Aug 22, 2013 · 0 comments

Comments

@alvas
Copy link

alvas commented Aug 22, 2013

In example1.rb, it draws two curves.

p.add_point([1,4,3,4,3,3,2,1,0,7,4,3,2,3,3,5,1,0,7],"Serie1")
p.add_point([1,4,2,6,2,3,0,1,5,1,2,4,5,2,1,0,6,4,2],"Serie2")
p.add_all_series()
p.set_abscise_label_serie
p.set_serie_name("January","Serie1")
p.set_serie_name("February","Serie2")

But those two curves are exchanged. Look at January, it is the yellow curve. The third point is supposed to be 3. But it is 2. http://amardaxini.github.io/rchart/cubic_chart.html

Looks like the color of the legend text is not synchronized with the curve on the graph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant