Jqplot:在两条线之间填充颜色

时间:2013-06-03 20:37:00

标签: javascript graph charts jqplot

我使用JqplotfillBetween属性来填充指定颜色的系列之间的区域:

fillBetween: {
    // series1: Required, if missing won't fill.
    series1: 0,
    // series2: Required, if  missing won't fill.
    series2: 1,
    // color: Optional, defaults to fillColor of series1.
    color: "rgba(227, 167, 111, 0.7)",
    baseSeries: 0,
    // fill:  Optional, defaults to true.  False to turn off fill.  
    fill: true
}

根据上面的示例,它使用指定的颜色填充系列0和系列1之间的区域。

我想填充0和1,2和3以及4和5系列之间的区域。有谁知道怎么做?

1 个答案:

答案 0 :(得分:0)

我已为此问题创建了修复程序: Bitbucket pull request for jqplot

我已将更改转换为主要的Jqplot repo以合并到下一个版本中。 如果需要,请随意使用我的修复程序。

相关问题