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

Use user defined line colors in the chart #1345

Closed
Beeb0p opened this issue Sep 13, 2022 · 0 comments · Fixed by #1346
Closed

Use user defined line colors in the chart #1345

Beeb0p opened this issue Sep 13, 2022 · 0 comments · Fixed by #1346
Labels
enhancement New feature or request

Comments

@Beeb0p
Copy link
Contributor

Beeb0p commented Sep 13, 2022

Description
We have a Series=>Line=Color property. However, we do not use it at all and use a hardcoded scheme instead.

Steps to reproduce the issue:

  1. Add data for the chart
  2. Define line color {"type":"line","series":[{"name":"Colored Chart","values":"Sheet1!$B$30:$D$30","line":{"color":"#000000"}}]

Describe the results you received:
The line in the chart has the default color.

Describe the results you expected:
The line in the chart has black color.

Output of go version:

Excelize version or commit ID:

(2.6.1)

Environment details (OS, Microsoft Excel™ version, physical, etc.):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants