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.
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.