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

How to specify the color of the legend in the chart? #2191

Closed
yinbug opened this issue Feb 7, 2022 · 2 comments
Closed

How to specify the color of the legend in the chart? #2191

yinbug opened this issue Feb 7, 2022 · 2 comments

Comments

@yinbug
Copy link

yinbug commented Feb 7, 2022

How to specify the color of the legend in the chart?
I tried the line chart and the column chart according to the example and can't set the legend color.

@yinbug yinbug added the WontFix label Feb 7, 2022
@q97585248
Copy link

Maybe
$chart->getStyle()->setColors( array( 'FFFFFF', '000000', 'FF0000', '00FF00', '0000FF' ) );
But i was tested has no effect on radar charts

@yinbug
Copy link
Author

yinbug commented Sep 1, 2022

Thank you for your guidance

@yinbug yinbug closed this as completed Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants