View Full Version : Displaying only some of the axis' labels in a line chart

19 Oct 2014, 4:00 AM
I have an Ext JS line chart with a lot of values along its X axis.


Is there a way to display only some of the labels along the axis?
The current display is too crowded and dense.
(Let's say only round hours will have labels and the rest of the scales would be with no text)

19 Oct 2014, 9:48 PM
You might try setting:

20 Oct 2014, 6:38 AM
Thanks for the reply.
Is it working when my 'category' axis has no numeral values?
I can tell I need to set 'maximum' and 'minimum' in order to use 'majorTickSteps', but which values
should I put when my axis values are not numeral?

26 Oct 2014, 12:21 AM
Does anyone have an answer for that?

I'll rephrase the question :
How can I filter some of the labels in an axis of type 'Category'?
I don't want to filter the ticks, just the labels.