Skip to content

set_lables goes in reverse order #9

@vanboom

Description

@vanboom

I am creating a horizontal bar graph and setting the values - here is my pseudocode
loop...
b.append_value(v)
labels << lable corresponding to value v
end loop

After all the values are built, I want to set custom labels for the Y axis.
y.set_labels( labels )

The labels show up in reverse order to the values I set. So I have to set labels like this...
y.set_labels( labels.reverse )

Possibly this is a bug?

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