Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Chart: x-Axis with clustered/dynamical legend

Hi,

in a chart there to many values on x-axis. First value of chart is GJ_Woche 2010/01. How can I display the x-axis like attached pic?

2010/01, 2011/01, 2012/01,... Can this legend also define dynamical?

Regards

Stefan

3 Replies
hic
Former Employee
Former Employee

You need to create your GJ_Woche so that it is numeric, e.g. by using

  Dual(WeekYear(Date) & '/' & Week(Date), WeekStart(Date) ) as GJ_Woche

Then you need to set the axis to be "Continuous" in the graph. (Properties - Axes)

HIC

Not applicable
Author

Hi Stefan,

If you need x-axis values to be  exactly horizontal, you should follow what Henric has mentioned.

But if you are fine with the values being displayed vertically or little slanted then you can right click on chart, go to Properties--Axes tab. Then in the Dimension Axis section, you can change the "Primary Dimension labels" to "|" or "/" as required.

Hope this helps!

sunilkumarqv
Specialist II
Specialist II

For simplicity change Primary Dimension labels For more over script you need to put efforts