unify color system
Currently the color systems are idiosyncratic for each plot. The current settings look very nice and should be left as the default, but if I, say, want to have a linear gradient on a pie chart or no gradient on a bar chart, then i should be able to.
I can imagine a couple possible solutions:
(1) create a Color class that is used by all plots, and specifies not only the color, but the fill type (radial/linear/no gradient) and perhaps other parameters as well.
(2) have all plots interface for color specifications the same way. for example, some_plot = a_plot(..., colors=
Also, it would be nice to have pattern fills. For example, instead of a gradient, i may want a hatch or dot pattern to fill the shape. This should be possible with Cairo surfaces. (but really this is a separate feature request and should be in a different bug)
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Cairo Plot Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #348831.
Can you help with this problem?
Provide an answer of your own, or ask Michael Wayne Goodman for more information if necessary.