Jump to content

How do I change the size of KPI box


Keyur Parekh 2

Recommended Posts

Hi There,

To my knowledge it isn't possible to set the size of the KPI boxes. They are auto-sized based on the available space. The vertical size is set, but the horizontal size automatically resizes to the available space. I believe this is so that the layout automatically resizes for mobile devices.

Is it possible to change the layout to better show all the KPI's

Andrew (TIBCO Data Science)

Link to comment
Share on other sites

  • 2 months later...

Hi,

I always prefer to go with HMTL , CSS & Javascript in Text area. Basically i will design my entire KPI dashboard in a photoshop and slice all the images into one folder. Finally embedded all the images into the text area and position the calculated values where ever you need.

With this you can controll all your image heights and bandwidhts.

Thanks,

-Vidya

Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...
  • 4 months later...
  • 1 year later...

It is possible to change the KPI's, Spotfire developer (turn it on from Tools>Options)

you can muck around with the following CSS in a text area.

 

 

/* FORMAT THE TILE*/

.sf-kpi-tile{ ;border-radius:0% !important; box-shadow: 2px 4px 8px 1px rgba(0, 0, 0, 0.2); height:96px !important; font-size:10px; padding:6px; width:128px !important; }

 

/* FORCE ALL TEXT CONTENT TO BE WHITE */

.sf-kpi-tile>div{ color:white;}

 

/* FORCE TEXT WRAPPING IN THE METRIC DESCRIPTION AND FORMAT */

.KpiActual{font-size:11px !important; white-space:normal !important; height:24px; margin-bottom:3px !important; }

 

/* TURN THE TILE A DIFFERENT COLOUR ON MOUSE HOVER*/

.sf-kpi-tile:hover{ background:#50544d !important;}

 

/* DON'T SHOW THE FROM TARGET */

.KpiFromTargetCont{ display:none }

 

/* SHRINK THE SIZE OF THE SPARKLINE AND FORCE IT TO BE WHITE */

.Sparkline{ color:white; height:24px; margin:0pt;}

Link to comment
Share on other sites

  • 10 months later...

Hey,

 

I just tried doing what you suggested - I did manage to change the height and width from the delveloper coding display, but once I save the analysis it just goes back to the default settings and doesn't keep what I entered. Any thoughts on how to change this

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...