Jquery 条形图上的不同颜色取决于值?

Jquery 条形图上的不同颜色取决于值?,jquery,charts,jqplot,Jquery,Charts,Jqplot,我想使用JQPlot jquery图表插件根据其值将这些条设置为不同的颜色 E.g. the rendered bars will be colored with RED if the value of the bar is 13 and over the rendered bars will be colored with YELLOW if the value of the bar is between 10 - 12 the rendered bars will be

我想使用JQPlot jquery图表插件根据其值将这些条设置为不同的颜色

E.g. the rendered bars will be colored with RED if the value of the bar is 13 and over
     the rendered bars will be colored with YELLOW if the value of the bar is between 10 - 12
     the rendered bars will be colored with BLUE if the value of the bar is less than 10
这可能吗?示例代码段是什么?我似乎在网上找不到多少信息


谢谢

看看给出的答案。
我不确定它是否有效,但它可能会为你指明正确的方向。基本上,它是关于覆盖jqPlot颜色生成器并基于条的值返回颜色。

看看给出的答案。 我不确定它是否有效,但它可能会为你指明正确的方向。基本上,它是关于覆盖jqPlot颜色生成器并基于条的值返回颜色