Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
morenoju
Partner - Specialist
Partner - Specialist

Display x-axis labels in continuous line chart

Hi folks,

How can I display the x-axis label in a continuous line chart with 96 possible values for the dimension (5 minutes intervals of a day)?

image.png

image.png

Labels (4)
10 Replies
sonkumamon
Creator
Creator

It seems like it's a problem with the chart size, try increasing it and see if you can view the axis.

morenoju
Partner - Specialist
Partner - Specialist
Author

Hi @sonkumamon , unfortunately, even when I maximize the chart, the x-axis remains unseen.

sonkumamon
Creator
Creator

Try to change it to non-continuous and see what happens.

morenoju
Partner - Specialist
Partner - Specialist
Author

Hi @sonkumamon , they continuous scale button is disabled, so I can't uncheck it. However, notice that I need the line to fit the chart without scrolls since it's supposed to be understood at a glance.

I've tried changing number of axis values from Max to Auto. The labels show up, but the chart is unreadable since it needs the scroll.

morenoju_0-1612445594652.png

 

lashagoch
Contributor II
Contributor II

Hi @morenoju, I have the same issue, have you found any solution to display labels on the x-axis? 🙂

morenoju
Partner - Specialist
Partner - Specialist
Author

Hi @lashagoch , unfortunately never worked.

I still keep getting complaints from users about this now and then.

eddie_wagt
Partner - Creator III
Partner - Creator III

Do you need all labels? Or do you want to show only some of them, for example the min or max of all values? When continuous is enabled the labels are being dropped, but you can show labels as a workaround as value label. Like this. Use the dual function: dual(Timestamp,sum(Speed)) and format is Measure expression. Enable 'Show values'

eddie_wagt_0-1620205749902.png

 

morenoju
Partner - Specialist
Partner - Specialist
Author

Hi @eddie_wagt , thanks for the suggestion. However, I really need the labels to show up on the usual a-axis.

It's hard to believe that it's not possible... I'm still looking for a way to achieve it.

Don_Stocks_
Contributor III
Contributor III

Hi @morenoju,

One possible solution would be to use derived fields. In doing so, you can set the field tags to specify how to display the fields on a continuous axis. 

The $qualified and $simplified field tags are the key here. The field tagged with $qualified will display when zoomed in, the $simplified will show when zoomed out. 

Great example here:

https://community.qlik.com/t5/Documents/Top-10-Viz-tips-QlikWorld-2021-part-V/ta-p/1787570

(see the sheet named 'Custom time axis with weeks')

 

Don Stocks