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

Misplaced label with multibar charts #733

Closed
cirocavani opened this issue Oct 23, 2015 · 0 comments · Fixed by #1240
Closed

Misplaced label with multibar charts #733

cirocavani opened this issue Oct 23, 2015 · 0 comments · Fixed by #1240
Labels

Comments

@cirocavani
Copy link

The label above a dodged bar chart is centered for all values.

using Gadfly

x = ["a", "a"]
y = [1, 5]
colors = ["Value 1", "Value 2"]
labels = map(string, y)

p = plot(x = x, y = y, color = colors, label = labels,
    Geom.bar(position = :dodge),
    Geom.label(position = :above),
    Scale.y_continuous(maxvalue=10))

barchart

@tlnagy tlnagy added the bug label Sep 1, 2016
@Mattriks Mattriks mentioned this issue Jan 27, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants