Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

patrik_seger
Contributor

Creating multi dimensional treemaps via .NET API...

Hi

After spending a couple of hours trying to create multi dimensional treemaps via .NET API I finally cracked it:

Since the treemap is pivot-like in its structure, don't forget to set these:

                    ...

                    HyperCubeDef = new VisualizationHyperCubeDef

                    {

                        AlwaysFullyExpanded = true,

                        ShowTotalsAbove = true,

                        ...

If you do not set "AlwaysFullyExpanded" you will always only see one dimension at the time.

The second one gives the labels for the top dimension(s) in place.

Hope to save some time for other .NET API detectives out there

Br Patrik

Community Browser