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
Projects

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.):

@xuri xuri linked a pull request Sep 13, 2022 that will close this issue
10 tasks
@xuri xuri added the enhancement New feature or request label Sep 13, 2022
@xuri xuri added this to Feature in v2.7.0 Sep 13, 2022
xuri pushed a commit to carbin-gun/excelize that referenced this issue Oct 9, 2022
@xuri xuri mentioned this issue Jul 4, 2023
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
No open projects
v2.7.0
Feature
Development

Successfully merging a pull request may close this issue.

2 participants