Skip to content

Rchart cubic curve example1.rb shows an error #14

@alvas

Description

@alvas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions