如何为Highchart网格颜色图案服务

阿西夫汗·卡迪瓦拉

我正在使用highcharts极地蜘蛛图。有什么方法可以在网格中设置颜色模式。有yAxis.alternateGridColor,但我需要彩色图案。

极谱图

请检查下面的图片,以便您了解我在说什么。

在此处输入图片说明

pot

您可以使用绘图带来达到所需的结果:

    yAxis: {
        ...,
        plotBands: [{
            color: 'red',
            from: 20,
            to: 50
        }, ...]
    }

现场演示: https : //jsfiddle.net/BlackLabel/g62h0apb/

API参考: https : //api.highcharts.com/highcharts/yAxis.plotBands

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章