Hello! I am having the same problem. I tried with jquery sparklines
where 2 colors can be produced depending upon the threshold value, but
there are various problems in that:
1. the graph is 'discrete', i.e., vertical lines are drawn only at the
points mentioned, that the total graph is not a continous line.
2. the labelling of the x-axes and y-axes cannot be done using this.
3. more then 2 colors is not supported in discrete.
So, this cannot be a solution. Can anyone please throw more light into
how to use different colors in a same line in a graph, as stated by
the above author.