Ho to set a maximum bar chart height in ext js column charts?

558 Views Asked by At

i'm using items with x, y position to display the sub title of a chart. But bar height is over lapping the title how to set a default maximum bar height here

1

There are 1 best solutions below

0
On BEST ANSWER
renderer: function(sprite, record, attr, index, store) 
{ 
 if(attr.height>=27)
      { 
       attr.height=attr.height-27;
       attr.y=attr.y+27; 
      }
 } 
//By using this code we can set maximum height of bar is it correct