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

Cannot set colors when using addSeriesColumn in multiColumn columnChart #118

Open
dominik-eller opened this issue Feb 9, 2024 · 0 comments

Comments

@dominik-eller
Copy link

Describe the bug
There are only 5 default colors, that keep repeating when having more than 5 columns. I cannot change the colors of a multiColumn chart using ['color' => '#ff0000'] for example.

To Reproduce
Steps to reproduce the behavior:

  1. Create a ColumnChartModel
  2. Set multiColumn to true
  3. Add one or more series to the chart
  4. Try to set colors to the columns

Expected behavior
The defined colors are used for a multiColumn chart.

Screenshots
Bildschirmfoto 2024-02-09 um 01 01 42

Additional context
The issue is about the columnChartModel when using multiColumn and adding series with the addSeriesColumn method.

Solution Ideas
Adding color as a parameter before extras array or allow colors to be set in the extras array.

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

1 participant