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

set_lables goes in reverse order #9

Open
vanboom opened this issue Jun 12, 2010 · 2 comments
Open

set_lables goes in reverse order #9

vanboom opened this issue Jun 12, 2010 · 2 comments

Comments

@vanboom
Copy link

vanboom commented Jun 12, 2010

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?

@pullmonkey
Copy link
Owner

Maybe ...

  1. What SWF are you using?
  2. What is the JSON output?
  3. In terms of the horizontal bar graph, what do you mean by reverse? Starting at the top and going to the bottom or starting at the bottom and going to the top?

@gianlucagiacometti
Copy link

I experienced the same problem.
when you move the mouse for the tooltips they acrivate as if the bars are vertical, not horizontal.
it seems that it does not reverse the axis for the tooltips.
I used personalised tooltips for values:

hbar_value = HBarValue.new(min_year, max_int_year)
hbar_value.tooltip = c.name #c is a personal array
hbar.append_value(hbar_value)

Thanks for suggestions

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

3 participants