Skip to main content

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
On-Demand Webinar: Learn proven best practices for a smooth transition to Qlik Sense® SaaS. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
andresilva
Contributor III
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?

1 Solution

Accepted Solutions
andresilva
Contributor III
Contributor III
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

katsafone
Creator
Creator

Hi,

I'm very interested in this outcome too.

Thanks kindly.

andresilva
Contributor III
Contributor III
Author

Ok Michael. I appreciate

andresilva
Contributor III
Contributor III
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.

andresilva
Contributor III
Contributor III
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
Specialist III
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

fhoebechan
Contributor II
Contributor II

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.