Skip to main content

Bar or Equalizer ! - A different Bar Chart for your viewing pleasure

cancel
Showing results for 
Search instead for 
Did you mean: 
vinieme12
Champion III
Champion III

Bar or Equalizer ! - A different Bar Chart for your viewing pleasure

Last Update:

Sep 21, 2022 1:07:35 PM

Updated By:

Sue_Macaluso

Created date:

Jan 12, 2017 8:15:04 AM

Attachments

Hi,

The Following blog was inspired by a recent post that allowed me to exercise my brain into trying something new

(link to thread: Qlikview Chart)

Below is one of the two charts to be achieved in Qlikview. This led / music equalizer style looked pretty cool so I had to try


q.PNG

I finished with a chart like this. Close enough I'd say.

led.PNG

You can also adjust the number of bands you wish to see on the chart, but make sure you adjust the percentage scales for background colors

bands.PNG

How did we achieve this chart?

The Idea is to break each value into multiple segments and then use background expression to make only alternate segments visible.

Simple isn't it.

So we've basically turned a simple single dimension one expression chart into a Stacked Chart with two Dimensions and one Expression.

Apply the same approach with Grid Charts which allow other visualization possibilities.

Singletone.PNG

HeatMap.PNG

Multi.PNG

These are just for your viewing pleasure, hope you enjoy playing with them as much as I did.

Happy Qlik'in

Cheers

Vineeth


Vineeth Pujari



Comments
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

I have used the default script (ctr + 00) and this expression :

If(DIM <= round(Sum(Expression1)/Max(TOTAL Aggr(Sum(Expression1), Dim1))*40),

  Sum(Expression1)/round(Sum(Expression1)/Max(TOTAL Aggr(Sum(Expression1), Dim1))*40)

)

Color by expression :

if(even(RowNo())=0,argb(0,255,255,255),

if(DIM >= 40*.90 ,rgb(196, 77, 88),

if(DIM >= 40*.70 ,rgb(255, 107, 107),

if(DIM >= 40*.50 ,rgb(252, 157, 154),

if(DIM >= 40*.30 ,rgb(249, 205, 173),

if(DIM >= 40*.20 ,rgb(0, 180, 204),

if(DIM >= 40*.05 ,rgb(13, 103, 89),

)))))))

(replace 40 by a variable if you what)

vinieme12
Champion III
Champion III

I've attached Qvf file to the post now

brunobertels
Master
Master

Hi

Very interesting , thanks for sharing QliKsense app example

Bruno

julian_rodriguez
Partner - Specialist
Partner - Specialist

Seems very cool, thanks!

barnaby
Contributor II
Contributor II

G'day Vineeth,

The main example in your post looks nice and neat, clear and informative. Not much redundant 'ink' on the page. However, your 'Grid Chart' examples look very busy and would distract the viewer from the information that you're trying to convey.

Cheers,

Barnaby.

rulohx87
Contributor III
Contributor III

Nice Chart !

Anonymous
Not applicable

Very interesting, Thanks for posting!

mario_sergio_ti
Partner - Specialist
Partner - Specialist

Very interesting,

vinieme12
Champion III
Champion III

Hi barnaby

I've shown a trick; how you apply it is up to you.

In the post I have shown heat maps, you could also use it to show fill to value charts

BarCharts.JPG

Cheers

V

Version history
Last update:
‎2022-09-21 01:07 PM
Updated by: