obsidian-charts icon indicating copy to clipboard operation
obsidian-charts copied to clipboard

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

Open wolfspyre opened this issue 2 years ago • 1 comments

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:

  • data element 1 = black
  • data element 2 = brown
  • data element 3 = red,
  • data element 4 = orange,
  • data element 5 = yellow,
  • data element 6 = green,
  • data element 7 = blue,
  • data element 8 = violet,
  • data element 9 = grey,
  • data element 10 = white

but

  • What should I do if I want element 2 to be red in one graph?
  • or all elements to be turquoise in another?

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 avatar May 17 '23 20:05 wolfspyre

looks like Linear Gradient might be useful for this?

wolfspyre avatar May 21 '23 03:05 wolfspyre