Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
briwilli
Contributor III
Contributor III

Need to scroll line chart that contains X-Axis defined with Use continuous scale

We are building a line chart where the X-axis is a year field that contains gaps in the data between years.  I want the line chart to accommodate the missing years between data points, so we have selected the property for X-axis’ Use continuous scale.   Furthermore, our user wants to see the data point mid-way between our vertical year reference lines so we’ve employed the dual() function to accomplish this.  As you can see from the following screen shot, the line chart is being displayed as desired.  The chart correctly shows data points for 1993, 2003, 2010, 2013, 2015, 2017, and 2019.  The chart also contains the mini-chart for scrolling even though it is not required since all values are shown

briwilli_0-1643308706442.png

The problem we need help with is that when the chart is resized to a smaller size, the chart is rendered so that the complete chart fits into the resized container without the need for horizontal scrolling.  The Qlik algorithm for rendering the chart results in the chart showing fewer vertical reference lines so it now becomes more difficult to discern what year the data point refers without hovering over the data point.  The screen shot below is the the same chart from above but has been resized much smaller to demonstrate the issue.   As you can see, it is now difficult to determine what years are refereed to by the various data points.  We would like to force Qlik to render the chart to show all possible years and require scrolling when the chart size makes it necessary.  

briwilli_1-1643308995630.png

Note: We cannot unselect Use continuous scale because that results in a chart that no longer accounts for the gaps in data and doesn't show the proper spacing between our data points.  Below demonstrates this problem.  As you can see it shows the same spacing between 1993 and 2003 as between 2015 and 2017 - it is not proportional.

briwilli_2-1643309424796.png

Any thoughts will be appreciated.

Thanks
Brian

 

 

Labels (1)
0 Replies