为标签设置大写时:
xAxis:{
labels: {
style: {
textTransform: "uppercase"
}
}
}
Run Code Online (Sandbox Code Playgroud)
它适用于任何浏览器,但FireFox(v.23.0.1和v.24.0).
参见示例:http: //jsfiddle.net/udhSa/
是否有任何解决方法或我需要html格式化它并添加大写的类?
有没有办法删除左侧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)