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

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How to display number in Digital format.

Started by actcognosuser, 30 Apr 2015 10:00:28 AM

Previous topic - Next topic

actcognosuser

Hello all,

I am creating a dashboard/report studio report. I need to display a number in digital /time like format.

Is there a way to do this?Pls see attached image.


cognos810

Hello actcognosuser,
You will first need to get a digital font. I googled it and saw quite a few out there. Install it on the content manager server(s), active and standby. Then edit the global configuration on each to include this font in the list of fonts available to report studio. You can find more information in the installation and configuration guide for the Cognos Business Intelligence Server.

-Cognos810


actcognosuser

Thank you so much. But this would be a gobal change. is there a javascript which will provide the same function?

cognos810

Yes it will be a global change, in the sense that the font becomes available for your use in report studio. Only the text that you apply this new font to will show this new digital style font.
Using javascript, I may be wrong here and will let javascript experts to comment on it, you can definitely change the font of the text, BUT where will your browser fetch the font from? Lets say you install the font on your local machine, it may start working for you. All other users will need to have this font available on their machine. You will have to plan to distribute this font across your user base.

bdbits

Unless the user has the font locally available - or it is set up on the web server for download when the report runs - the local browser will likely substitute the font with something else. This isn't really a javascript issue, and certainly not a Cognos issue, but is just the way browsers normally handle fonts as defined in any web page's source.