首页 > 解决方案 > 在 Highcharts JS 中删除行

问题描述

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

图片

标签: javascriptjsonhighcharts

解决方案


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

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

例如检查小提琴


推荐阅读