Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Karthick30
Creator
Creator

vizlib bar chart options

I am using Qliksense Vizlib bar chart. I have one issue.. when i added the measure, it automatically splits the space in a bar. like 70% means more space in a bar and 20 % less space in bar.

I have a request.. even though its 70% , can we have an option to minimize the bar space and mention it as 70 %

Hope my question is clear

 

Labels (1)
1 Solution

Accepted Solutions
Andrei_Cusnir
Specialist
Specialist

Hello,

 

I was working on this use case scenario to find a way to represent your expected output, however I was unable to find a way to do it natively. One idea is to modify the expressions, however it might not be suitable for all use case scenarios. For example:

 

1. I have created this chart:

SCREENSHOT

As measures I have:

  1. Sum(Value)
  2. Sum(Value2)
  3. Sum(Value3)
  4. Sum(Value4)

2. Then I have modified the measure expressions as following:

  1. Sum(Value)/RangeSum(Sum(Value),Sum(Value2),Sum(Value3),Sum(Value4))
  2. Sum(Value2)/RangeSum(Sum(Value),Sum(Value2),Sum(Value3),Sum(Value4))
  3. Sum(Value3)/RangeSum(Sum(Value),Sum(Value2),Sum(Value3),Sum(Value4))
  4. Sum(Value4)/RangeSum(Sum(Value),Sum(Value2),Sum(Value3),Sum(Value4))

3. For each measure, I have changed the Number formatting to "Number" with Simple formatting set to "12%". This has gave me the following output:

SCREENSHOT

 

I am not sure that it will cover your use case scenario, however if it is not, then I believe you should submit a feature request [1].

---

[1] https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1...

Help users find answers! Don't forget to mark a solution that worked for you! 🙂

View solution in original post

3 Replies
Andrei_Cusnir
Specialist
Specialist

Hello,

 

Can you please share with us a screenshot and highlight the exact part that you are talking about? It will be easier to understand the use case scenario!

Help users find answers! Don't forget to mark a solution that worked for you! 🙂
Karthick30
Creator
Creator
Author

Hi,

Please find the below screenshot. I am seeing Data values only for 3 bars(Green, pink and light blue). but i would like to see all colour data points

Karthick30_0-1640077925825.png

My actual output should be like below . Even though 56% (blue) is more , it has less space

Karthick30_1-1640078037251.png

Hope it is clear

Andrei_Cusnir
Specialist
Specialist

Hello,

 

I was working on this use case scenario to find a way to represent your expected output, however I was unable to find a way to do it natively. One idea is to modify the expressions, however it might not be suitable for all use case scenarios. For example:

 

1. I have created this chart:

SCREENSHOT

As measures I have:

  1. Sum(Value)
  2. Sum(Value2)
  3. Sum(Value3)
  4. Sum(Value4)

2. Then I have modified the measure expressions as following:

  1. Sum(Value)/RangeSum(Sum(Value),Sum(Value2),Sum(Value3),Sum(Value4))
  2. Sum(Value2)/RangeSum(Sum(Value),Sum(Value2),Sum(Value3),Sum(Value4))
  3. Sum(Value3)/RangeSum(Sum(Value),Sum(Value2),Sum(Value3),Sum(Value4))
  4. Sum(Value4)/RangeSum(Sum(Value),Sum(Value2),Sum(Value3),Sum(Value4))

3. For each measure, I have changed the Number formatting to "Number" with Simple formatting set to "12%". This has gave me the following output:

SCREENSHOT

 

I am not sure that it will cover your use case scenario, however if it is not, then I believe you should submit a feature request [1].

---

[1] https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1...

Help users find answers! Don't forget to mark a solution that worked for you! 🙂