on 09-18-2008 1:01 PM
Hi all,
I want to display formated numbers in tooltip of column chart.
Instead 60000 display 60,000...
Is it possible?
VC7 SP15 Flash runtime.
Thanks,
Ola
Edited by: Ola Agiv on Sep 18, 2008 2:01 PM
Hi..
I think you can use the numeric function NSTR(n, mask), whereby n represents your @value and the mask has to be set to 'C'. This should turn the 60000 into 60.000.
If you want to have a comma instead of the dot you can put the NSTR function into the REPLACE function.
Example:
REPLACE(NSTR(@value,'C'), '.', ',')
Greets, Jochen
Edited by: Jochen Schmitz on Sep 18, 2008 11:30 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I tried your soln on my System as below.
1.Input field L1
2.Expression Field E1 with formula :NSTR(@L1, 'C'),
3.Exepression Field E2 WIth formula :REPLACE(NSTR(@L1,'C'), '.', ',')
I Had given Input for L1 as 10000.
the output of E1,E2 is 10,000 Means output of both formulas returning same output.
Could you plesae check this once .
where you testing this
i am working on SP16.
Thansk,
Govindu
Hi Ola,
Did you ever get a solution to your problem? I am also having the same issue - that the tooltip text within the graph is showing the raw number rather than a formatted number with commas. When trying to use a data type defined as text with the formatting applied as the data source, the graph would not display as you stated. So, any alternatives that you found would be appreciated.
Thanks,
Alan
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.