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

Pie chart colors are all black. #11

Open
Beartech opened this issue Apr 27, 2013 · 1 comment
Open

Pie chart colors are all black. #11

Beartech opened this issue Apr 27, 2013 · 1 comment

Comments

@Beartech
Copy link

I used the pie chart example found here:http://www.idolhands.com/ruby-on-rails/rails-gems-plugins-and-engines/simple-semantic-charts-and-graphs-for-ruby-on-rails-with-seer

But when I loaded the page all of the sliced were black. This was on a Rails 3.2/Ruby 1.97 default install, simple app made using scaffolding. I added the line:
:colors => []
to the configuration of the chart,and it fixed the issue causing it to use default colors for the pie.

@repslice
Copy link

I had the same issue when trying to use the seer gem in my project. ruby 1.9.3p194/Rails 3.2.13.

Your suggestion of :colors => [] also worked for me, allowing default pie chart colors to be displayed. Thanks for that.

I'll report back if I find a cause.

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