2015-12-16 2 views
1

В горизонтальной гистограмме, этикетки обрезаются вместо оберточнойHighchart обертывание категория этикетки

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' 
     } 
    } 
} 

ответ

0

Вам нужно отключить многоточие, установив textOverflow: 'none'

Пример: http://jsfiddle.net/ybrp5z1e/

+0

Это работает почти хорошо, за исключением того, что когда есть смесь длинных коротких ярлыков, я не получаю никаких выровненных категорий – user3387046

Смежные вопросы