phibr0 / obsidian-charts

Charts - Obsidian Plugin | Create editable, interactive and animated Charts in Obsidian via Chart.js
https://charts.phib.ro/
GNU Affero General Public License v3.0
546 stars 25 forks source link

ability to set color of an element by value? or to override the color <-> element number within any graph #85

Open wolfspyre opened 1 year ago

wolfspyre commented 1 year ago

Describe the feature

I think there's some value in being able to set colors by value of the series element, rather than the element itself.

it could be neat to have graphs where the value dictates the color.

Does this fix a problem? If so, specify.

currently, if I specify color values in the app settings UI window, they are inexorably linked to element number IE:

but

so being able to set a color palette / relationship on a per-graph / per-element / per value level would be helpful.

Did you consider other alternatives?

I don't see a good way to affect this personally other than creating an issue... but perhaps I'm blind? :)

Screenshots and recordings

No response

wolfspyre commented 1 year ago

looks like Linear Gradient might be useful for this?