Wednesday, May 6, 2015

SP04 Rotate labels of barchart (high chart)

To rotate the label of bar chart we need to modify XML template of chart.

 <X_AXIS title='Name' alias='column_name_from_query'>   
 <LABELS rotation='-45'/>  

-45 - will rotate label at 45 degree
90 will show label perpendicular to x-axis

Note*_ we can also add "LABELS rotation='-45'"  for Y-AXIS

No comments:

Post a Comment

web stats