-
4 Aug 2011 1:24 AM #1
Hide labels on a chart
Hide labels on a chart
Hi, i want to hide the labels for the bottom axis.
In ExtJS <4 it worked the following way:
extraStyle: {
xAxis: {showLabels: false},
yAxis: {showLabels: false}
}
How to solve this in ExtJS 4?
-
27 Aug 2011 12:00 PM #2
Have you tried setting the title of the axis to blank and forcing a redraw of the axis label?
-
19 Oct 2011 12:12 PM #3
Try this:
Code:function emptyText(val) { return ''; } ...axes: [{ type : 'Category', position: 'bottom', fields : ['data'], label : {renderer: emptyText}, title : 'Title' }, ...
-
3 Apr 2012 9:50 PM #4
Hi ,
Am using the above function,am able to hide the labels,but am unable to remove chart ticks,
Can any body know how to remove the ticks and labels....
Thanks In Advance
-
4 Apr 2012 12:59 AM #5
Can anybody have a solution to this scenario ???

-
25 Oct 2012 6:56 AM #6
you can add "hidden: true" to remove the line and ticks.


Reply With Quote