Hi,
Slightly obscure request, but I'm posting in case someone has a pointer as to the best way to start.
I have a filled graph that represents the elevation profile of a bike ride.
I'd like to have the fill colour-coded by the gradient of the line. So, flat sections would be coloured in a neutral section, steep uphills would be coloured in red, steep downhills coloured in green, and so on. A bit like this:
I can do the code to assign a colour to each section, that's no problem. Where I'd appreciate hints is how best to hook this into Flot - any ideas?
All the best
Richard