Skip to main content

Suggest an Idea

Vote for your favorite Qlik product ideas and add your own suggestions.

Announcements
This page is no longer in use. To suggest an idea, please visit Browse and Suggest.

Trellis Chart - Visualizations Bundle: Remove empty charts

marcginqo
Partner - Creator
Partner - Creator

Trellis Chart - Visualizations Bundle: Remove empty charts

The Trellis Chart currently in the Visualization Bundle is not able to remove empty charts.

When for example, I use Set Analysis, to show certain values for a dimension I would like to see empty charts. There is one 3rd Party extension that does exactly what I'm looking for and that is https://github.com/miclae76/trellis-chart.

It only shows values that are related to the selection that is made.

For example, I create a bar chart with sales by Product Category. Now my Trellis Chart shows all Product Sub Categories related to the Product Category selected. Unfortunately the current Trellis Chart shows charts for all Product Sub Categories and Product Sub Categories not belonging to a selected Product Category are empty.

See this post for some examples: https://community.qlik.com/t5/Qlik-Sense-Integration-Extensions-APIs/Visualizations-Bundle-Trellis-C...

Marc Algera

14 Comments
Patric_Nordstrom
Employee
Employee

Thank you for your feedback on ways to improve our product. While this is something we understand would be useful, it's not on the short-term roadmap. Please continue to show your support for this idea.

The current behavior is by design, the trellis container is created by a 3rd party and is part of the visualization bundle, when bringing in objects we choose not to change the basic functions. That said we may try change it in the future, either in the object or creating a new container. 

The container is open source, for those who want to explore options: https://github.com/qlik-oss/qwik-trellis

Thanks,
Patric

Status changed to: Open - Collecting Feedback
Anonymous
Not applicable

@Patric_Nordstrom : i just added a pull request on Github https://github.com/qlik-oss/qwik-trellis/pull/50

I looked at the code, and realized that the extension simply does not react to any changes in the user selection state. This means the Object is not rerendered when a selection is done on the Trellis dimension.

I just added a 2 "watch" functions and removed the strange SET ANALYSIS {1} selection from the Hypercube Definition, which could be another reason why always all dimensions are shown.

I guess there is a smarter solution than that, but this would be a huge improvment to the trellis object. See how beautiful the extension now works.

fix_trellis_Extension.gif

 

Can you please push R&D so this fix is included in the next Qlik Sense Release?

Patric_Nordstrom
Employee
Employee

@rva_heldendaten  thanks for your contribution. Any change needs to non-breaking, so there has to be a switch for any new functionality. Also the number of watch statements is less ideal, increases the risk of race conditions. The change throws exception in Firefox.

Thanks,

Patric

Anonymous
Not applicable

@Patric_Nordstrom : Thanks for your feedback. For sure my solution is not perfect, I am not a Javascript developer. I just invested one hour for a proof of concept how the Trellis could become a powerful Qlik Object.

If it's possible for me to get Trellis working in 1 hour, I guess for your colleagues in R&D this should be easily possible to provide a proper version. So let's see my Github pull request rather as push forward into the right direction. I hope with my input you can put this feature request on the short term roadmap. 

 

Technical Feedback: correct, I need 2 watches because I don't know the correct way to watch any "Selection State" change. If you know how this is possible, please post it to my pull request. According to the "switch for new functionality" I guess for 90% of all Qlik Sense Users my behavior will be the new default. Qlik always prays"Green-White-Gray", but the current Trellis Clntainer does not behave this way. Maybe Qlik R&D can add the switch for provide backward compability. Maybe something we can discuss in the Github pull request as well.

 

Thx,

Roland

 

 

 

 

 

 

 

 

 

Anonymous
Not applicable

@Patric_Nordstrom : I just realized that there is another Pull Request, that has done a nonbreaking change by adding a "Switch":  https://github.com/qlik-oss/qwik-trellis/pull/47

 

The Pull Request is idle since May 2020. When can we expect that this functionality is merged into the main Qlik Sense Product?

 

Thx,

Roland

Patric_Nordstrom
Employee
Employee

Yes, even when combing 47 and 50 the change still causes exceptions in Firefox.

When suggesting changes, any fix must be non-breaking and well tested. It' impossible to include something that breaks the behavior on a supported browser. Much care has to be taken, QS runs on many compositions and there are many use cases to verify on.

Thanks,

Patric

Anonymous
Not applicable

hi!

See my feedback over at github: https://github.com/qlik-oss/qwik-trellis/pull/50#issuecomment-768181683

 

Best regards,

Roland

ShoNakajima
Employee
Employee

Is there any update on this? I saw no update for an year.

OR, is there any work around? (for example, to sort empty charts on the right bottom of trellis)

It is hard to compare between many charts in trellis when some empty charts are shown between them. 

jean1
Contributor II
Contributor II

Following up on this thread as well -- is there any way to even let the dim leverage the getfieldselections function to intelligently return only those dim values that are selected by the user? Trellis functionality is great to display whole portfolio of stores in single viz/sheet, but NEED the ability to allow selections. Any update from product dev on if this will be added in the future? I'm new to Qlik and this was basic/seamless functionality in other analytics products. @Patric_Nordstrom 

rva
Partner - Contributor III
Partner - Contributor III

@jean1 : see this discussion on the trellis chart git repository. There you will find a version that behaves like a "normal" qlik chart.

 

https://github.com/qlik-oss/qwik-trellis/pull/50

 

 

For some reason Qlik never updated the version of the trellis chart.