小编Dan*_*man的帖子

HighCharts:标签的大写不适用于FireFox

为标签设置大写时:

xAxis:{
    labels: {
        style: {
            textTransform: "uppercase"
        }
    }
}
Run Code Online (Sandbox Code Playgroud)

它适用于任何浏览器,但FireFox(v.23.0.1和v.24.0).

参见示例:http: //jsfiddle.net/udhSa/

是否有任何解决方法或我需要html格式化它并添加大写的类?

jquery highcharts

3
推荐指数
1
解决办法
1494
查看次数

如何删除highcharts中的网格线重叠?

有没有办法删除左侧xAxis gridLine左侧yAxis gridLine边缘的像素?

网格线重叠

参见示例:http://jsfiddle.net/48LvK/

$(function () {
    var chart;
    $(document).ready(function() {
        chart = new Highcharts.Chart({
            chart: {
                renderTo: 'container',
                type: 'area',
                marginRight: 130,
                marginBottom: 25
            },
            "xAxis": {
                "tickWidth": 0,
                "gridLineWidth": 1,
                "gridLineDashStyle": "ShortDot",
                "gridLineColor": "#c1c2c3",
                "labels": {
                    "enabled": false
                },
            },
            "yAxis": {

            },
            "plotOptions": {
                "area": {
                    "fillColor": "transparent",
                    "marker": {
                        "enabled": false
                    }
                }
            }, 
            series: [{
                data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
            }]
        });
    });
});
Run Code Online (Sandbox Code Playgroud)

highcharts

2
推荐指数
1
解决办法
2662
查看次数

标签 统计

highcharts ×2

jquery ×1