How to reperesent numeric values in Flex charts according to French format?
Hi All,
I need to convert existing Flex application from English to French. I want to know if there is a way to handle the numbers in French format when using in charts. For instance, if in English the number is represented as: 123.45 in French it will be: 123,45 (note the comma being used in place of decimal point).
Please suggest a solution as to how to handle this.
I Think There May Be Concept Of Locale Attribute in compiler Setting In Project Properties.
Similar Messages
-
How to get Checkbox Value from Flex in PHP.
Hi,
I need to know how to get a checkbox value from flex in PHP-POST/GET because I don't know what is the value property of a checkbox in flex.
Please Help.Hi,
It is very simple. Follow the steps below to achieve the solution,
1. Write a check-box change event to capture the value of the check box. Store this value in a variable(say bolChkSelected:Boolean).
2. In step 1 you got the value of the check box. Now your aim is to send the value to php. Declare a httpService in your flex application(i think you are aware of using it).Ok..im writing it
<mx:HTTPService id="sampleService" resultFormat='e4x' url='http://yourdomain/file.php' result='handleResult()' fault='handleFault()'>
</mx:HTTPService>
3. Now the actual solution... u need to send the shcStatus in to php..
Declare an object to hold the data
var objparameters:Object={};
objparameters['CheckBoxdata'] = bolChkSelected;
--in the above line... 'CheckBoxdata' is used as a parameter to php..you shud have the same variable name while accessing in php file also..
in php file..
checkboxstatus = $_POST[''CheckBoxdata''];
echo checkboxstatus
thats it.. -
How 2 convert numeric value to character value?
Hi friends,
I want to convert numeric value to the character value.
Is there any FM available?
Points rewared soon.
Regards
RonnREPORT ZSPELL.
TABLES SPELL.
DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.
DATA : PAMOUNT LIKE SPELL-NUMBER VALUE '1234510'.
SY-TITLE = 'SPELLING NUMBER'.
PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.
WRITE: 'NUMBERS', T_SPELL-WORD, 'DECIMALS ', T_SPELL-DECWORD.
FORM SPELL_AMOUNT USING PWRBTR PWAERS.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = PAMOUNT
CURRENCY = PWAERS
FILLER = SPACE
LANGUAGE = 'E'
IMPORTING
IN_WORDS = T_SPELL
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3.
ENDFORM. " SPELL_AMOUNT -
How can change numeric value to date format? example value 1070131(CYYMMDD)
in the datatable can i change numeric value to date format . in database date value is like 1070131 (CYYMMDD). I want to see 31/01/07(DD/MM/YY) or 31 Jan 07 . Is it possible?
Thanks,Did you solve your problem?
-
I need to filter out certain numeric values from a column.
The column has mix values of 1, 02, MA, sentences, A, 500.00,
2059678974, 006702.
I used IsNumeric() to filter out non-numeric values like A or
sntences, MA, etc. But I also need to filter out 1, 2 and 3 digits
numbers and floating typed number (234.00 or 324,345)
Can anyone tell me what function can I use to get a pure 4 to
6 digits number?A much better way to do this is:
<CFIF REFind ("^[0-9]{4,6}$", yourString)>
<!--- It's good. --->
<CFELSE>
<!--- It's bad. --->
</CFIF>
However, the BEST way is to select these columns right in the
query.
Most RDBM's can easily do this. Syntax depends on which RDBMS
you are using. -
How to add multiple values in bar chart.
I have three fields.
1) Buyer Name:
2) Number of PR
3) Number of PO
I want to display 2 and 3 in values corresponding to 1 (Buyer name) by using bar chart. I can display one filed either number of PR or PO but cant both in one chart.
How can i do this.You should be able to do that,
Multi-valued Bar chart.
drop me mail with xml and template you have, along with required output.
Id is n my profile. -
How to get multiple value on html chart with apex
Hi All,
I'm looking for a way to compare 2 value on a html chart with apex (ex. Budget with expense).
Some one know how I could make a chart with 2 value ( a kind of histogram with the bar Budget and expenses side to side with only one title)
Thanks all !
Edited by: 844999 on 2011-04-05 07:59sims wrote:
Hi Anil,
Its a standard page & i want it on click of apply button but my question is when i click apply button it navigates to other page..is it possible in such scenario to extend the controller.
Thnx for ur suggestion
SimsThat is not an issue, you can extend the controller of that page and get the value of sequence and set it to the VO attribute.
Thanks
--Anil
http://oracleanil.blogspot.com -
How can we place values "onto" bar charts? (Example Included)
We need help! We don't know how to do this:
Using Graphics, we are trying to place values onto a horozontal
multilevel bar chart created with Oracle graphics from an Oracle
report. We are trying to have the report dynamically place the
values "ONTO" the bar(s) itself, so that the "reader" of the
report can see the value associated with the bar, by looking at
the value we've "overlayed" onto the bar. See this example:
$10,000 | $5,000 | $5,000 | $20,000
$ 8,000 | $5,000 | $5,000 | $18,000
$ 5,000 | $10,000 | $15,000
Please call or email:
Shawn
Cell: 214-649-0706
email: [email protected]There is a solution to this somewhere on this forum. If I understand it correctly you can select the chart, right click, select field templates. Select the axis field tab. Enable the label check box. Select desired radio button from label rotation.
Counts should appear above the bars. -
How to show time values in a chart item of WAD 7.0?
Hi experts,
i have a keyfigure in time format hh:mm:ss. In the analyze item it is no problem to show the query results in this format. But in a chart for example line type the chart designer cannot resolve the values and all lines are down. In the chart wizard i can only choose between text, label and percent.
Have anyone an idea that can help?
take care
LeoHi Leo,
You can use Time Scatter Chart for this purpose.
Regards
Erwin -
How to show negative value in Pie Chart from Webi?
I have below example data, I want to convert this to a pie chart in Web Intelligence, my problem is after I convert it to a pie chart, the revenue '-30' is shown as '30', looks like the pie chart is not suppor the negative value to show, I want to know if there is any workaround or solution to make the pie chart to show the negative value? Is this behavior is by design? do we have any official document to explain this?
The product I used is BOE XI 3.1 SP3.
Department Revenue
A 100
B -30
C 80
Edited by: Alex Wang on Jul 13, 2010 5:51 PMWhy are you showing this information as a pie chart? It doesn't make sense to try and display a negative slice in a pie chart. I can't really think of a logical way to try and draw a negative slice in a pie chart. With a pie chart you will need all your information to either all be positive or all negative, otherwise it doesn't work.
What you need is to have a bar chart, with positive and negative values on the y axis. -
How to Display result value on Pie chart in wad
Dear Experts,
I'm useing WAD to create web template, in that I have a requiremnt to develop Pie chart and it should show material cost according to material type for each slice on Pie chart. I have developed a WAD template for the same and Pie chart as well but I can not see the respective material type cost on Pie chart, where as I can see those values in tool tip when I move mouse over the pie chart, I understand I'm missing a small setting can you please help me to find that setting so that user can see values directly on pie chart without moving the cursor on the same.
Thanks and Regards,
Chandrakant.are you r using wad 7.0 or 3.5
in 7.0 right click on the graph, edit nyou wil be in the wizard go on step 3 and try to change the series and make sure visilibility is checked
if this doesnt work then click refine and go to series and make sure show lables are checked.
try this. -
How to display Zero values in the chart
Hi,
In BO design studio 1.3 we are using bar chart and line chart for one of the dashboard. we have enabled the data labels and data is also displaying in the chart, but for certain criteria the data is itself zero in the database. In such scenario chart is not showing zero as the data label and it is simply blank. Is there any way to display the values even though it is zero?
Thank You,
Palani.Hi - I don't see a way to do that; if you want that in the future I recommend posting something on Idea Place - ideas.sap.com
-
How to get numerical value for every button
Hi,
Currently I am using a case structure to determine which graph i want to display. For example, each case( i have 7 cases), there is a frequency,amplitude dial which user can change it. So basically there are 7 of those. Let say the user want to change case 1 and display those. I've plan to place a button PLAY beside the frequency dial so that it will activate the case 1. But the problem is how can i do that as the input for the case structure is numerical (0-6) to select the case. How can i activate case 1 for an example, when i click the button PLAY beside the first dial? Is it possible to change the configuration of the button PLAY, so that when its activated, it will give out numeric 1 and i wire to the case structure input? Thanks guys.Maybe you want to use a single radiobutton control with seven items?
Here's a quick example.
(Also, see what happens if you wire the radiobutton control to a case structure. )
LabVIEW Champion . Do more with less code and in less time .
Attachments:
SelectWithRadio.vi 22 KB -
How to remove numeric value in the fields of a table
Environment: SQL Server 2008R2
Tools: MSMS
Code:
a. Table Definition
USE [DLPT_CMS1_RESTORE]
CREATE TABLE [dbo].[Mocha]
[id] [int] IDENTITY(80,1) NOT NULL,
[Login_ID] [char](10) NULL,
[PE4] [varchar](8000) NULL,
[PE9] [varchar](8000) NULL,
[PE11] [varchar](8000) NULL,
[PE15] [varchar](8000) NULL,
[PE17] [varchar](8000) NULL,
[PE20] [varchar](8000) NULL,
[PE22] [varchar](8000) NULL,
[PE25] [varchar](8000) NULL,
[PE28] [varchar](8000) NULL,
[PE29] [varchar](8000) NULL,
[PE27] [varchar](8000) NULL
b. data
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293595,293595,293737,293737,293737,293737,293737,293737,'I dont think 12 week program is hard',293737,293737,'antiinflamatory- this helps to fight free radicals and ward off disease.')
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293841,293841,293841,293841,'293841 I feel that the product should be more holistic'
,'293841 I would like for the customer support to give more immediate feedback'
,'293841 Fends off alzeimer disease and dementia. It has been proven to destroy the amaloid plaques that are believed to be a cause of dementia and memory loss',
293841,293841,293841,293841,293841,293841)
Challenge:
1. Delete / Remove login_ids from a string found in one or more of the fields in Mocha table
Example: the following string contains login_id '293841 I would like for the customer support to give more immediate feedback' , remove the login_id in the narrative field which could be PE4, PE22. or PE28
2. Count the response or narrative field for each column after the deletion is completed
My script and still working progress
SELECT * FROM MOCHA
WHERE ISNUMERIC(PE4) = 1 and [PE4] like '%[0-9]%'
Thanks for the supportI added a new data which shows inaccurate results using your last updated code. The mistake appears in the 3rd row culomn name PE25 is null but counts it as 1
CREATE TABLE [dbo].[Mocha]
[id] [int] IDENTITY(80,1) NOT NULL,
[Login_ID] [char](10) NULL,
[PE4] [varchar](8000) NULL,
[PE9] [varchar](8000) NULL,
[PE11] [varchar](8000) NULL,
[PE15] [varchar](8000) NULL,
[PE17] [varchar](8000) NULL,
[PE20] [varchar](8000) NULL,
[PE22] [varchar](8000) NULL,
[PE25] [varchar](8000) NULL,
[PE28] [varchar](8000) NULL,
[PE29] [varchar](8000) NULL,
[PE27] [varchar](8000) NULL
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293737,293737,293737,293737,NULL,293737,NULL,293737,'I dont think 12 week program is hard',293737,293737,'antiinflamatory- this helps to fight free radicals and ward off disease.')
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],
[PE15],[PE17]
,[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293841,293841,293841,293841
,'293841 I feel that the product should be more holistic'
,'%%293841%% I would like for the customer support to give more immediate feedback'
,'%%293841%% Fends off alzeimer disease and dementia. It has been proven to destroy the amaloid plaques that are believed to be a cause of dementia and memory loss'
,293841,NULL,NULL,293841,293841)
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293735,'293735 my name',NULL,NULL,NULL,NULL,NULL,NULL,'%%293735%%I dont think',293735,293735,'this helps to fight free radicals and ward off disease')
select
Replace(Replace(PE4,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE4
,Replace(Replace(PE9,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE9
,Replace(Replace(PE11,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE11
,Replace(Replace([PE15],RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE15
,Replace(Replace(PE17,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','')PE17
,Replace(Replace(PE20,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE20
,Replace(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE22
,Replace(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE25
,Replace(Replace(PE28,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE28
,Replace(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE29
,(case when len(PE4)-Len(Replace(PE4,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe4] is null or Replace(PE4,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP4
,(case when len(PE9)-Len(Replace(PE9,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe9] is null or Replace(PE9,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP9
,(case when len(PE9)-Len(Replace(PE11,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe11] is null or Replace(PE11,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP11
,(case when len(PE15)-Len(Replace(PE15,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe15] is null or Replace(PE15,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP15
,(case when len(PE17)-Len(Replace(PE17,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe17] is null or Replace(PE17,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP17
,(case when len(PE20)-Len(Replace(PE20,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe20] is null or Replace(PE20,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP20
,(case when len(PE22)-Len(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe22] is null or Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP22
,(case when len(PE25)-Len(Replace(PE25,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe25] is null or Replace(PE25,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP25
,(case when len(PE28)-Len(Replace(PE28,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe28] is null or Replace(PE28,RTRIM(Cast(Login_ID as varchar(10))), '') =''Then 0 Else 1 End) cntP28
,(case when len(PE29)-Len(Replace(PE29,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe29] is null or Replace(PE29,RTRIM(Cast(Login_ID as varchar(10))), '') =''Then 0 Else 1 End) cntP29
from mocha -
How to Change Numeric Value into Character Value in Reports at run-time?
Hi,
I am creating some reports, in which i am facing a problem.
i have an AMOUNT field of "NUMBER" data type in a table, I want to show the AMOUNT value in Character at run-rime.
For example, if AMOUNT is 12000 then it should be converted into Character like "Twelve Thosand".
Please help me to make it clear.
Thanking you in advance.u can get decimal points through this function
FUNCTION amt_2_word(amt varchar2) RETURN Char IS
BEGIN
declare
--TYPE v_arr IS VARRAY(6) of varchar2(3);
len number;
i number;
t_amt varchar2(100);
t_word varchar2(20000);
last_3rd varchar2(1);
main varchar2(1000); -- number in format main.sub
--v_main v_arr := v_arr('00','0','00','00','000');
v_main1 varchar2(3) := '00';
v_main2 varchar2(3) := '0';
v_main3 varchar2(3) := '00';
v_main4 varchar2(3) := '00';
v_main5 varchar2(3) := '000';
sub varchar2(1000);
res_1 varchar2(32000);
res_2 varchar2(32000);
res_3 varchar2(32000);
res_4 varchar2(32000);
res_5 varchar2(32000);
res varchar2(32000);
begin
t_amt := lpad(amt, 10, '0');
len := length(amt);
i := instr(amt, '.');
if i = 0 then
main := lpad(amt, 10, '0');
sub := '';
else
main := lpad(left(amt, instr(amt, '.')-1), 10, '0');
sub := rpad(right(amt, len - instr(amt, '.')), 2, '0');
end if;
v_main1 := right(main, 2);
v_main2 := left(right(main, 3), 1);
v_main3 := left(right(main, 5), 2);
v_main4 := left(right(main, 7), 2);
v_main5 := left(main, 3);
if v_main1 <> '00' then
res_1 :=getTwo(v_main1);
end if;
if v_main2 <> '0' then
res_2 := getOne(v_main2) || ' Hundred ';
end if;
if v_main3 <> '00' then
res_3 := getTwo(v_main3) || ' Thousand ';
end if;
if v_main4 <> '00' then
res_4 := getTwo(v_main4) || ' Lac ';
end if;
if v_main5 <> '000' then
last_3rd := left(right(v_main5, 3), 1);
if last_3rd <> '0' then
res_5 := getOne(last_3rd) || ' Hundred ';
end if;
res_5 := res_5 || getTwo(right(v_main5, 2)) || ' Crore ';
end if;
res := 'Rupees ' || res_5 || res_4 || res_3 || res_2 || res_1 || ' ';
if sub is null then
res := res || 'Only';
else
res_1 := getTwo(sub);
res := res || 'and Paise ' || res_1 || ' Only';
end if;
return res;
end;
END;
u write this PL SQL in ur databse and u can use this function and get amount to word
Maybe you are looking for
-
While doing LSMW standard method for Customer master creation..
while doing LSMW standard method for Customer master creation..... In 13th step I am getting this king of error FB012 Session 1 : Special character for 'empty field' is / FB007 Session 1 session name ZPROJ was op
-
Security settings for CRM Integration with SharePoint
I have successfully integrated CRM 2015 and SharePoint 2013, both on-premise. I can see the SharePoint iframe on my CRM. Next, is to set up the security. Only users with access to CRM record can access the respective SharePoint folders. After I set u
-
I was told to download the iSync conduit but when I tried, I was told I had to download iSync 1.2. I cannot find it. Where can I find it to download?
-
Want binary_float dimension key
Hi, I would like to set up a star schema with binary_float dimension keys to make them much smaller than the numeric datatype. When I do, I get validation warnings in the dimensions built in OWB. Can I ignore the warnings and use the smaller binary_f
-
Nike + iPod WatchRemote issues
I have the new iPhone 3GS. I have the Nike + iPod WatchRemote. I DO NOT have the Nike + iPod Sensor. I am able to link the WatchRemote to my iPhone 3GS just fine. I have turned on the Nike + iPod feature and am able to navigate to the application ico