If you are unable to create a new account, please email support@bspsoftware.com

 

Change legacy "treemap by value" visualization font size/style

Started by kevinl1210, 06 Feb 2020 02:38:50 AM

Previous topic - Next topic

kevinl1210

Hi all,

I am using a legacy visualization: "treemap by value" in my active report. My question is that is it possible to change the font size and font style (the text are bold by default) of the treemap? It seems that there is no font size/style properties.
If it requires javascript to do so, can anyone provide me some information/hints for this. :'( I cannot find any related information after some online researching.  :'(

Thanks in advance.

MFGF

Quote from: kevinl1210 on 06 Feb 2020 02:38:50 AM
Hi all,

I am using a legacy visualization: "treemap by value" in my active report. My question is that is it possible to change the font size and font style (the text are bold by default) of the treemap? It seems that there is no font size/style properties.
If it requires javascript to do so, can anyone provide me some information/hints for this. :'( I cannot find any related information after some online researching.  :'(

Thanks in advance.

Hi,

Is this a RAVE visualization? If so, the font is probably coded into the VizJSON of the visualization. There is a Visualization Customiser utility you can use to edit the VizJSON - this is probably your best bet.

https://community.ibm.com/community/user/businessanalytics/blogs/kevin-mcfaul/2016/06/24/cognos-business-intelligence-cognos-analytics-visualization-customizer

Cheers!

MF.
Meep!

kevinl1210

Quote from: MFGF on 06 Feb 2020 07:30:21 AM
Hi,

Is this a RAVE visualization? If so, the font is probably coded into the VizJSON of the visualization. There is a Visualization Customiser utility you can use to edit the VizJSON - this is probably your best bet.

https://community.ibm.com/community/user/businessanalytics/blogs/kevin-mcfaul/2016/06/24/cognos-business-intelligence-cognos-analytics-visualization-customizer

Cheers!

MF.

Thanks!
I have successfully changed the font size and style with the customizer. I have one more question:
If i want to add an additional label to the tooltip of my visualization, is it also possible to do so with the customizer?  :-\

MFGF

Quote from: kevinl1210 on 06 Feb 2020 09:12:15 PM
Thanks!
I have successfully changed the font size and style with the customizer. I have one more question:
If i want to add an additional label to the tooltip of my visualization, is it also possible to do so with the customizer?  :-\

Hi,

Yes, I think so. You can grab the documentation for the customizer here:

https://www-01.ibm.com/support/docview.wss?uid=swg27039892

There is a section on creating tooltips.

Cheers!

MF.
Meep!