【问题标题】:Remove lines at Highcharts JS在 Highcharts JS 中删除行
【发布时间】:2021-01-05 12:41:47
【问题描述】:

我是 Django 开发人员。但我需要使用一个库。制定您的日程安排。用 JS 编写的库。 链接-https://api.highcharts.com/highcharts/xAxis.plotLines

Image

【问题讨论】:

  • 你想达到什么目的?你试过什么?请分享一些您的代码示例。

标签: javascript json highcharts


【解决方案1】:

要在highcharts中隐藏yAxis网格线,您可以使用gridLineColor属性并添加图表背景的颜色。

Highcharts.chart('container', { 
     yAxis: { 
         gridLineColor: '#ffffff' //added white color to gridLines
    }
});

check fiddle for example

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-03-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-23
    • 1970-01-01
    相关资源
    最近更新 更多