Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

andresilva
New Contributor III

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?

Tags (1)
1 Solution

Accepted Solutions
andresilva
New Contributor III

Re: 2 measures trellis-chart

I used 2 series with y1 and y2.

Exemplo1.png

9 Replies
agilos_mla
Contributor III

Re: 2 measures trellis-chart

‌hi André,

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

michael

katsafone
New Contributor III

Re: 2 measures trellis-chart

Hi,

I'm very interested in this outcome too.

Thanks kindly.

andresilva
New Contributor III

Re: 2 measures trellis-chart

Ok Michael. I appreciate

andresilva
New Contributor III

Re: 2 measures trellis-chart

I used 2 series with y1 and y2.

Exemplo1.png

ilyasjmd
New Contributor

Re: 2 measures trellis-chart

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.

andresilva
New Contributor III

Re: 2 measures trellis-chart

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
Valued Contributor

Re: 2 measures trellis-chart

Hi Andre,

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

Thanks!

miguelbraga
Valued Contributor III

Re: 2 measures trellis-chart

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

fhoebechan
New Contributor

Re: 2 measures trellis-chart

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.

Community Browser