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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
chaorenzhu
Creator II
Creator II

How to set font sizes for different measures in multi KPI?

Hi I have a multi KPI chart with two measures, and I want to show different font sizes for these 2 measures. I'm aware of adjusting css style for value and label, but how can I set different font sizes for different measures?

& .label * {
font-size: 50%;
}
& .value * {
font-size: 50%;
}

 

Labels (1)
  • Chart

1 Solution

Accepted Solutions
justISO
Specialist
Specialist

Hi, try to use something like this

.statistic-0 .label * {
color:#21ba45 !important;
font-size: 100%;
}
.statistic-0 .value * {
font-size: 50% !important;
}
.statistic-1 .label * {
color:#fd9412 !important;
font-size: 100% !important;
}
.statistic-1 .value * {
font-size: 100% !important;
}

I believe there are statistic from 0 till 9 if you will want to define more than 2 measures.

View solution in original post

2 Replies
justISO
Specialist
Specialist

Hi, try to use something like this

.statistic-0 .label * {
color:#21ba45 !important;
font-size: 100%;
}
.statistic-0 .value * {
font-size: 50% !important;
}
.statistic-1 .label * {
color:#fd9412 !important;
font-size: 100% !important;
}
.statistic-1 .value * {
font-size: 100% !important;
}

I believe there are statistic from 0 till 9 if you will want to define more than 2 measures.

chaorenzhu
Creator II
Creator II
Author

Thanks a lot