When you use 3 stops on a color axis, it is impossible to give the right value to the middle stop if you want the middle stop at a specific value.
You need to express the stop position as a percentage of the color axis, but the automatic scaling of the color axis makes it impossible to know beforehand where that value will be exactly on the axis.
See this example: http://jsfiddle.net/kzoon/quzb14pa/
Here I want value 0 to be white, below 0 red and above 0 blue.
In my data 0 is at 0.3, but on the scale 0 is at 0.4. But I don't know that beforehand.
There could be 2 solutions:
1 Allow tying a stop to an actual value
2 Allow setting stops after render
Solution 1 is obviously not there.
Is there a way to set stops after render? I see methods like addPlotBand on axis, but not addStop...