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

Can't print values when colors is set in Style object #308

Open
luigonsec opened this issue Mar 1, 2016 · 1 comment
Open

Can't print values when colors is set in Style object #308

luigonsec opened this issue Mar 1, 2016 · 1 comment

Comments

@luigonsec
Copy link

I am trying customize a Bar chart using pygal and I am getting troubles with custom style. I want set a color for each serie, so I add the colors parameter in a Style object creation:

custom_style = Style( colors = ( 'red' , 'blue' ) } )

I add a couple options
config.style = custom_style
config.show_y_guides = True
config.show_legend = True
config.print_values = True
config.print_values_position = 'top'

And the values are not printed. However, If I create a default Style object

custom_style = Style()

And after I add the others options, the chart is correctly rendered and the values are printed.

What is happening?

@paradoxxxzero
Copy link
Member

Do you have a full example?

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

2 participants