Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

2 measures trellis-chart

Hi,

I am using api trellis-chart to make multiple charts with 2 dimensions with 1 measure but what I want is to have multi measures (> = 2). GitHub - miclae76/trellis-chart: Qlik Sense Trellis Chart Extension

With the native qlik line chart it is possible to have 2 measures on the same chart, but you can only have one dimension.

print1.png

With trellis-chart I can only have one measure (Sum - Sales) but I need 2 measures (Sum - Sales and Sum - Volume).

print2.png

Is there any way to get 2 measures and 2 dimensions?

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I used 2 series with y1 and y2.

Exemplo1.png

View solution in original post

10 Replies
agilos_mla
Partner - Creator III
Partner - Creator III

‌hi André,

I implemented this trellis chart extension, it might be possible , I will have a look to the code asap.

michael

Anonymous
Not applicable
Author

Hi,

I'm very interested in this outcome too.

Thanks kindly.

Anonymous
Not applicable
Author

Ok Michael. I appreciate

Anonymous
Not applicable
Author

I used 2 series with y1 and y2.

Exemplo1.png

ilyasjmd
Contributor
Contributor

Hi Andre,

Can you please let me know how you have done this. ? I am also having two measures which i wanted to show in the trellis chart.

Anonymous
Not applicable
Author

var y1 = myChart.addMeasureAxis("y", "measure1");

var y2 = myChart.addMeasureAxis("y", "measure2");

var lines = myChart.addSeries("name measure 1", dimple.plot.line, [x,y1]);

var lines2 = myChart.addSeries("name measure 2", dimple.plot.line, [x,y2]);

prabhu0505
Specialist
Specialist

Hi Andre,

Can you pls share the code that you made on trellis-chart.js?

Thanks!

miguelbraga
Partner - Specialist III
Partner - Specialist III

Hi André Sousa Silva,

Can you share with the community the code you used in every file of the extension? I would like to have to a trellis chart extension with 2 measures.

Many regards,

MB

Anonymous
Not applicable
Author

Hi Andre

I was trying to create a trellis chart of 2 measure with the ext but i was not able to select a secondary axis.

Can you share the steps/code to create that?

Thanks.