高图包装类别标签

时间:2015-12-16 04:48:06

标签: highcharts

在水平条形图中,标签被裁剪而不是包裹

enter image description here

我正在使用

xAxis: { 
    categories: ['Holds regular team meetings for passing on information and sharing opinions',
    'Implements and strictly adheres to work safety rules',
    'Makes clear what he/she expects of me and sets clear goals',
    'Maintains focus in ambiguous and pressure situations',
    'Takes an interest in his/her workers and is attentive to their needs',
    'Initiates processes of improvement increased efficiency and cost reduction',
    'Promotes collaboration with other units',
    'Expresses recognition and appreciation for a job well done',
    'Allocates time teaching and coaching',
    'Gives me feedback on my performance',
    'Promotes my personal and professional development',
    'Creates enthusiasm among his subordinates',
    'Encourages people to take the initiative and widen their scope of responsibility',
    'Effectively delegates tasks and authority'],
    labels: {
        step: '1',
        style: {
            lineHeight: '10%',
            color: 'red',
            fontSize: '13px'
        }
    }
}

1 个答案:

答案 0 :(得分:0)

您需要通过设置textOverflow: 'none'

来停用省略号

示例:http://jsfiddle.net/ybrp5z1e/