I had a data visualization problem that required me to use a palette of 5 colors to render the strength of a score based on fairly specific interpolation rules.
The data visualization toolkit already had SolidColorBrushInterpolator which did a nice job of an RGB interpolation of 2 colors.
I built on this using a LinearGradiantBrush definition to define the scale that I wanted to use and turned the result into an interpolater. ...
Go to the complete details ...