Problem/Motivation
We update charts using CSV import. Some charts have colors that differ from the default configured colors. After uploading new data the colors revert back to default.
Our charts use the highcharts library and are added using paragraph types.
Steps to reproduce
Edit page with existing charts, then edit the paragraph containing a chart with colors that were manually changed to something different than the default colors. Upload updated data using the CSV importer. The data is updated, but the colors revert back to default.
Proposed resolution
We have solved it for now with a patch that edits ChartDataCollectorTable.php based on existing code. Perhaps there is a more elegant solution?
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | charts-3553827.patch | 1.59 KB | annemiekb |
Issue fork charts-3553827
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
annemiekb commentedComment #5
andileco commentedThank you, @annemiekb - I just created a MR with your patch to help benefit from the automated tests and make it a little easier for folks to work on the issue.
Comment #6
andileco commentedComment #9
andileco commentedComment #11
nikathoneComment #13
andileco commented