cancel
Showing results for 
Search instead for 
Did you mean: 

set the size of the widget, hide secondary value using css for numeric chart

praveen_kumar334
Participant
0 Kudos
576

Hi Team,

Can someone please help me in getting the CSS(class/function) code for the below requirement

1. Set the size(length , breadth) of the numeric chart widget and

2. Need to hide the secondary values, secondary labels.

Thanks,

Praveen

Accepted Solutions (0)

Answers (2)

Answers (2)

FxGk
Participant

Hey Praveen,

the CSS option is for styling purposes only. If you like to change the size of your widgets you could use the onInitialization function of your "Overview" page.

E.g. you could do:

If you set the same percentage values for the size of all your widgets in the styling panel they will have the same size without using the onInitialization function regardless of resolution or divice

2. To hide the labels you can change the settings in the builder panel.

JBARLOW
Contributor
0 Kudos

To be honest you don't need any scripting to solve this.

1.Simply create one numeric point chart,

2.Manually format it (size, fonts etc etc)

3. Copy /paste it, then simply edit the measures displayed in it