Flash Chart Legend Problem
Hi,
Im having a problem with my flash chart legends in Apex3.0.
I have changed the name of the Series to what i want to appear in my legend - however the legend just shows "Value" for all my Series.
Does anyone else have this problem?
Cheers,
Immanuel
Hello,
I need a legend like this
No of Clicks('000)
If i give l" No of Clicks('000)" as column alias, chart says Error :No chart data available.
If i give "No of Clicks('000')" or "No of Clicks(''000)" as column alias in the query, it displays the correct legend..
Would anybody tell me how to show the legend like this
No of Clicks('000)
Regards,
Archana
Similar Messages
-
I have built a 2D Line Flash chart with 6 series. My problem is that the legend shows the word "Value". Does anyone know how to make the legend display the series name instead.
JeffVarad,
Thank you for your reply but your answer does not appear to be the solution I need. This SQL statement below used in a SVG Chart yields a legend using the series name. The same SQL statemnet used in a Flash Chart yields "Value" as the series name. Why?
<pre>
SELECT NULL link,
to_char (minipay_detail_vw.event_dt, 'YYYY, MM') AS label,
sum (minipay_detail_vw.contract_pay_amt) AS value
FROM [email protected]
WHERE minipay_detail_vw.object_class_cd = '018'
AND to_char (minipay_detail_vw.event_dt, 'YYYYMM') <
to_char (sysdate, 'YYYYMM')
AND financial_organization_cd IN
('1650', '1655', '1660', '1665', '1670')
AND (:p337_fy = '%null%' OR minipay_detail_vw.fiscal_year = :p337_fy)
GROUP BY to_char (minipay_detail_vw.event_dt, 'YYYY, MM')
ORDER BY to_char (minipay_detail_vw.event_dt, 'YYYY, MM')
</pre>
Jeff -
Flash Chart Legend Not In Capitals
I have created a flash chart based upon a function returning sql. The chart displays fine but the legend column names for some reason are converted to initial capitals from all originally being in capitals, eg "SERIES" now equals "Series". I really need the legend to display all capitals as it is in the sql.
For example:
The function returns a string similar to this .......
select NULL as "LINK",
WEEK as "LABEL",
VALUE1 as "VALUE1,
VALUE2 as "VALUE2"
from MY_TABLE
order by WEEK
When the flash chart is rendered on the page the legend displays the two series values as "Value1" and "Value2". Somehow the chart ignores the capital case of the column names and applies initial capitals only over riding the original case.
There appears to be no over ride for the legend case so where is it coming from ? It shouldn't make any difference but the chart type is a "3D column" style. Not sure if this is a XML question or maybe a Flash Player issue.
Regards,
Jack.I had the same problem.
To fix it:
1. Find a font that is strictly caps. I used Felix Titling.
2. Edit the flash chart & under the chart attributes set USe Custom XML to yes.
3. Scroll down almost to the bottom and find the legend tag.
4. In the font tag for the legend substitute the font you chose.
This will capitalize ALL the letters in the legend.
I don't know how to selectively capitalize letters.
Bob Richards -
How to turn off scrollbars in Flash chart legend
I recently migrated an Apex 3 app over to Apex 4. In the process I upgraded all of the Flash charts as well. Now, I get vertical scrollbars in some of the legends.
How can I turn those scrollbars off? I don't see any settings in the UI and I haven't been able to work out the proper arguments in the XML to do it manually.
Thanks for any pointers!
--jbin ipad
-
Hello.
I have problem with bubble chart the problem is that in chart legend appear the same number of object what bubble in chart e.g. if chart have 5 bubble then legend also have 5 object.
What do I want to obtain is that in chart appear bubble which have different color (color depends on condition) and legend relate only colors. For example if chart have 4 bubble 3 - red and 1 - green then in legend appear only two position which relate green and red color (now appear 4 object three about red and one green).
Can any one tell me how to resolve this problem?I already did this I added three condition (three colors red, green and yellow) in field "Value of" I choosed "is equal to" unfortunately it didn't help.
Maybe I joust try to describe what I want to show in this chart.
Suppose I have table with four columns u201Cdateu201D, u201Camount (number type)u201D, u201Csize (number type)u201D, u201Crisku201D (text type) now where this value appear on chart:
- date is x axis
- amount is y axis
- size is a bubble size
- risk will be bubble color
Now I have 3 kind of risk u201CLowu201D (green color), u201CMediumu201D (yellow color) and u201CHighu201D (red color).
Now in my data base I have table with record:
- u201C11-11-2009u201D, u201C1u201D, u201C2u201D, u201CMediumu201D
- u201C12-11-2009u201D, u201C2u201D, u201C1u201D, u201CMediumu201D
- u201C13-11-2009u201D, u201C1u201D, u201C1u201D, u201CHighu201D
- u201C14-11-2009u201D, u201C3u201D, u201C3u201D, u201CLowu201D
- u201C15-11-2009u201D, u201C1u201D, u201C1u201D, u201CLowu201D
Ok so now In My chart I should have 5 bubble and in legend three value (green, red, yellow) but in this case I always have five (the same number what record in table).
Sorry if this example is not clear. -
Hi- We are on APEX v3.1.2.00.02
A flash chart has been created and works well, but here is my issue:
In the Chart Series query, we have a select (here's a small piece) select total_rfc "Total R.F.C"
When the chart is generated, the legend box appears as Total R.F.C (as seen in the above line).
I really want it to say Total RFC (no periods). If I change the SQL query to "Total RFC", it appears as Total Rfc (2nd & 3rd letters are lower case).
Anyone know how to fix this? I'm fairly new to APEX and I can't quite determine if this is a SQL or Flash issue.Hi "msnewman",
The behaviour you are seeing is expected in APEX 3.1.2, and is due to the use of the Initcap function in the underlying logic, which is resulting in Legend values appearing with the initial letter in uppercase and the rest of the work in lowercase letters. When you remove the full stops from between R F and C, then the three letters are being picked up as one word, RFC, which will end up like Rfc after being updated by the Initcap function.
In APEX 4.0, however, this is no longer an issue. With Flash 5 charts it is possible to display the value all in uppercase, as you can see in the Bar Chart example here: http://apex.oracle.com/pls/apex/f?p=36648:5. So if you are contemplating upgrading to APEX 4.0.2, our latest release, you would be able to take advantage of this change to the behaviour of the chart legend, as well as much nicer looking Flash charts.
Regards,
Hilary -
Flash Chart Legend Location Question
Under Chart Attributes, Display Settings there is a raidio button for the legend display. Either None, Left or Right. I'm wanting to move the legend to the bottom or top to allow more width for the actual chart data. Any way to do this? I'm not real familiar with flash.
Never mind, found it. X & Y axis in the custom xml.
-
Flash Chart Performance Problem behind Firewall
I am running into an issue with running Flash based charts behind a firewall.
Database: 11.1.0.6
Apex: 3.1.2.00.02 (Using Oracle HTTP Server via Oracle Application Server)
Flash: 3.1.2.00.02
I have a page the displays a 2D Line graph with three data series. When I run the report directly against my app server (URL: [http://ecydblcyorwq06/public/f?p=128:11]
where ecydblcyorwq06 is my app server) the chart displays just fine. In
order for the public to access this page they must go through our
firewall called fortress. So they start by accessing the system from [https://fortress.wa.gov/ecy/wplcsreports/,] which then maps to my application (128:1). The URL becomes [https://fortress.wa.gov/ecy/wplcsreports/public/f?p=128:1].
When I try to run the chart through fortress it never renders. I just
get the "Loading Data...Please Wait" progress bar. The progress bar
moves very slowly and never returns the chart.
My dads.conf looks like
<Location /public>
SetHandler pls_handler
Order deny,allow
Allow from all
AllowOverride None
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDatabasePassword xxxxxxxx
PlsqlDatabaseConnectString database_server:1521:my_sid SIDFormat
PlsqlAuthenticationMode Basic
PlsqlDefaultPage f?p=wplcs_online:permit_search
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDocumentPath docs
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
</Location>My Apache httpd.conf file looks like:
<VirtualHost *>
ServerName wplcsreports
RewriteEngine On
RewriteRule ^/$ /public/f?p=wplcs_online:permit_search [R]
DocumentRoot /www/pls/apex
#RewriteLog "E:\product\10.1.3.1\OracleAS_1\Apache\Apache\logs\rewrite.log"
#RewriteLogLevel 9
Port 80
</VirtualHost>The Apache access logs have a couple entries like this:
198.239.146.15 - - --30/Sep/2008:10:49:30 -0700--
"GET
/i/flashchart/2DLine.swf?XMLFile=http://wplcsreports/public/apex_util.flash?p=128:11:5145826667904515:FLOW_FLASH_CHART_R4278912739418628_en-us
HTTP/1.1" 304 -
198.239.146.15 - - --30/Sep/2008:10:59:02 -0700--
"GET
/i/flashchart/2DLine.swf?XMLFile=http://wplcsreports/public/apex_util.flash?p=128:11:761140423223754:FLOW_FLASH_CHART_R4278912739418628_en-us
HTTP/1.1" 200 80216Is there something that I need to do from the configuration standpoint
to make the chart work across the firewall? Do I need to do something
with the Virtual host definition so that the XML file works properly?
TonyAlright, I have modified my DAD to include the following line:
PlsqlCGIEnvironmentList HTTP_HOST=fortress.wa.gov/ecy/wplcsreports:80
I restarted the OHS and how I get an XML error in the chart region.
XML Loading Failed: http://fortress.wa.gov/ecy/wplcsreports/public/apex_util.flash?p=128:11:......The thing I noticed here is that the failed URL is not HTTPS, but HTTP instead. I am guessing this is the current problem. So I went back to my httpd.conf file and tried to add the request_method directive to my virtual host definition, but this just caused the OHS restart to fail.
httpd.conf
<VirtualHost *>
ServerName wplcsreports
RewriteEngine On
RewriteRule ^/$ /public/f?p=wplcs_online:permit_search [R]
DocumentRoot /www/pls/apex
#RewriteCond %{REQUEST_METHOD} ^TRACE
Port 80
</VirtualHost>So how do I force the XML file loading to be under the HTTPS protocol?
Tony -
Adding a single quote in the flash chart legend
Hi all,
I am using a following code to create a line chart.
SELECT null link
,TO_CHAR(monat, 'MON-YY')
,ROUND(No_of_hits/1000) "No of Clicks(''000)"
FROM
SELECT DISTINCT TRUNC(ref_month,'MONTH') monat
,SUM(no_of_hits) OVER (ORDER BY TRUNC(ref_month,'MONTH') RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) No_of_hits
FROM goodnews_hits
WHERE ref_month BETWEEN :p77_DATE_startline
AND :p77_DATE_endline
ORDER BY monat;
I get the following legend in the top region of the chart
No Of Stories
No of Clicks(''000)
I need the No of Clicks to be displayed as
No of Clicks('000)
i.e.
Only one single quote before 000
Could you please tell me , how this can be achieved?
Thanks,
ArchanaAs I said in my earlier post, I am looking for the tooltips for the Presentation tables and columns. The tooltips for these were extracted from the RPD using the externalize Strings option and these externalized strings are stored in the database.
So I am escaping the single using a single quote both in rpd and in the database.
Example text I have used both in the rpd and database is something like "Shipment's start time". I tried with "Shipment''s start time", " Shipment'''s start time", but it didn't work.
Thanks!!
Vasantha.P -
I have multiple pie charts displayed on the same page. I would like to maintain consistent legend across all the graphs as below.
0 - 10 % - Red
11- 20% - Green
21 - 30% - Blue
31- 40% - Black
41-50% - Yellow
some of the charts may not certain ranges as mentioned above. I always want to show consistent colors in the legend, instead of apex choosing the colors for the chart randomly. that means, when the values are 11- 20% it's green, 31-40% is always black, if those ranges are avaialble. Is there way to enforce such color shcme/legend to SVG charts?. any ideas are appreciated.
thanks in advance,
Suryaany ideas are appreciated.
-
Problems with Range 2D Column Flash Chart
I am having three problems with the Range 2D Column Flash Chart.
1. Series Name: I have two series one named AAA the other BBB. AAA returns two values AAA_MIN and AAA_MAX. BBB returns two values BBB_MIN and BBB_MAX. The Legend shows two series both labeled AAA.
2. Show Hints: The Hint Labels are all AAA even when looking at a BBB value. And the Values show no precision, 0.03 shows as 0.
3. Y Axis Scale not showing precision. My values range from 0.01 to 0.11 and the Y Axis Scale simply shows all 0Hi Marco.
Thanks for the help.
2 and 3) I have reverted to handling the decimal places declaratively rather then with Custom XML. Thanks for that, I just did not see that setting on the form.
As for (1) I did read something about the column alias was supposed to show as the Label for the Legend and Hints. But I am not doing something right. These are the SQL for each of my two Series. In my Legend and Hints I get:
AAA
AAA
First Series:
Series Name = AAA
SQL =
select
NULL as LINK,
to_char(DATETIME, 'DD HH24') || ':00' as LABLE,
round(min(decode(AAA,0,NULL,AAA)),1) as "AAA_MIN",
round(max(decode(AAA,0,NULL,AAA)),1) as "AAA_MAX"
from
ZZZZ
where
DATETIME between to_timestamp(:P47_SEARCH_X_FROM_DATE,'MM/DD/YYYY HH24:MI') and to_timestamp(:P47_SEARCH_X_TO_DATE,'MM/DD/YYYY HH24:MI')
group by
to_char(DATETIME, 'DD HH24')
order bySecond Series:
Series Name = BBB
SQL =
select
NULL as LINK,
to_char(DATETIME, 'DD HH24') || ':00' as LABLE,
round(min(decode(BBB,0,NULL,BBB)),1) as "BBB_MIN",
round(max(decode(BBB,0,NULL,BBB)),1) as "BBB_MAX"
from
ZZZZ
where
DATETIME between to_timestamp(:P47_SEARCH_X_FROM_DATE,'MM/DD/YYYY HH24:MI') and to_timestamp(:P47_SEARCH_X_TO_DATE,'MM/DD/YYYY HH24:MI')
group by
to_char(DATETIME, 'DD HH24')
order by
2 asc -
Problems On Show Chart Legend in Crystal Report Java Viewer
Hi all,
We found the problem on show chart legend values of each column, i have already set the "Tool tip text " option by formart chart, but the ouput on java viewer on can show first column data. seem Java view not support for display Tool Tip by chart columns ?
Thanks
Andrewi missed the following line in my code.
rcDoc.DataDefController.FormulaFieldController.Add(oFormulaField);
now it works......
my next issue is that,
chart returns True & False captions. but i want to show actual value. how its to be done
regards,
Padmanaban V -
Line thickness in Apex 4.02 flash chart for Legend
Does anyone know how to set Line thickness in Apex 4.02 flash chart for Legend?
My users can read the label fine, but the part where it shows the line color is very small and hard to match to the chart.Many attributes can be set in the Chart Attributes page Custom XML section. Line thinkness. Legend font size, height and width. But I haven't found a setting for the "icon" size. Even thought I increased font size and the size of the Legend on the page, the legend "lines" remained unchanged in size.
-
I'm trying to create a flash chart graphic, type Gauges, without success. When I try to run the apex hangs. I've tried to install Adobe Shockwave Player, but with it installed instead of the graphic image appears only the graphic url.
Any idea?I found the problem.
The attributes gauge:major interval and minor interval are defined default as 2 and 1.
After redefintion, the problem disapears. -
Problem: chart-legend doesn't copy into Keynote
I have some charts from numbers (imported xls-files) that i want to copy into a keynote-presentation.
The chart can be pasted into the presentation, but the chart-legend never shows up.
I've tried selecting and copying the chart and the chart-legend but that doesn't work. Copying only the chart-legend also doesn't work.
Can somebody help me out here?
thanks,
jojojojo,
Arrange > Group your Chart and Legend before copying. They will stay together then.
Regards,
Jerry
Maybe you are looking for
-
Iphone back-up/sync to new computer
I just purchased a new macbook pro but i am unable to back up my iphone to the old computer.. its been 8months since my last back up, will i lose all my new info?? is there anyway of saving it before it sync it to my new computer??
-
Hi everyone, I have a problem with the thickbox gallery. Im using dreamweaver CS5. My thickbox gallery was working just fine. But since I added a slideshow at the top of my website The thickbox stopped working properly. Now everytime I click on a pic
-
i have a new ipad 3rd G and i can't see the facetime application, but i can see the icon in the sitting>notification how can i work with the facetime app??? plz reply me
-
I had a great connection months ago, but recently began getting disconnected within a few minutes of being online. I get a message that the modem has unexpectedly hung up. Since my friends computer stays online for hours with no issues, I know the ph
-
WCF-WebHttp Variable mapping with more than 255 Characters
Hi all, I am using WCF-WebHttp send-receive port to query data from SalesForce. I have query as promoted property and it is mapped with {query} variable in Http Method and URL mapping. It works perfectly when my query has less than 256 characters (pr