javascript - 在 Highcharts JS 中删除行
问题描述
我是 Django 开发人员。但我需要使用一个库。制定您的日程安排。用 JS 编写的库。链接 - https://api.highcharts.com/highcharts/xAxis.plotLines
解决方案
要在 highcharts 中隐藏 yAxis 网格线,可以使用gridLineColor属性并添加图表背景的颜色。
Highcharts.chart('container', {
yAxis: {
gridLineColor: '#ffffff' //added white color to gridLines
}
});
推荐阅读
- javascript - 是否可以根据 PHP CURL 请求调用 javascript 函数
- r - 绘制地图时 line.width 不允许有多个值
- asp.net-mvc - 如何在 MVC 过滤器中使用异步方法?
- python - 如何在本地火花安装中使用多核
- algorithm - 检查一个矩形是否平分另一个矩形
- javascript - 如何有效地验证表单中的多个输入字段
- php - 在php中保留选择选项值
- c# - 如何扩展 IWebElement 接口以添加新方法
- python - Pandas:使用 .loc 迭代地创建(和填充)列
- c# - 与 SQL Server 建立连接时发生网络相关或特定于实例的错误