Foreign characters in SVG charts
Hi!
I am again having some trouble using SVG charts.
I want to label the values with descriptions from a table. These descriptions often contain german umlauts. The resulting graph (line type) shows no values at all and the labels show a square character for each "ä" (ä) and after an occurrence of "ö" (ö) all of them are cut off completely. (I guess that's why I don't see any values at all - the parser stops when encountering an unknown character.)
A quick look at the XML specification tells me, XML processors must accept UTF-8 or UTF-16 characters. IOW, umlauts should not be a problem when encoded correctly. But I don't know whether the Adobe SVG Plugin I use adheres to that or not. Another possibility would be, that the font used to render the graphics does not contain umlauts. But that wouldn't explain why I don't see the values.
So, what encoding does HTML DB use for XML output? Does anyone know who is to blame? Of course, it could be me too.
My workaround will probably be a view which replaces the umlauts with ASCII transcriptions. But I would find that pretty ugly because I already have a bunch of these. Any other possibilities to circumvent this problem are welcome.
J.
Additional info:
the XML file I can copy from the browser shows a translation of the umlauts like this:
Getr & # x 4 B A B ;e (spaces only for escaping; formerly Getränke)
When an "ö occurs, the remaining XML tags are being closed and the file ends:
K</text></g></svg> (should have been Körperpflege)
So with my smattering of XML I guess the output of HTML DB is wrong and I have to replace umlauts 'manually'. Please drop a line if you can confirm or confute that.
J.
Similar Messages
-
Can't display the correct numeric characters in SVG charts with IE5.5 SP2
Hi all,
although I defined the following format model for the number in a SVG chart
FML999G999G999G999G990D00
I am still getting the dollar sign and the period, even if my current browser language preference is set to italian (IE 5.5 SP2).
Note that month names instead are correctly translated (in a region other than that containing the SVG chart).
On the other hand, this does not happen with Mozilla 1.7 which correctly shows the euro sign and the comma as decimal separator.
Bye,
FlavioFlavio,
This is a known bug with the chart builder reading Internet Explorer's browser language setting.
You should be able to bypass this by editing the Application Attributes and setting the Primary Application Language to Italian and setting the Application Language to derive from the Primary Application Language instead of the browser setting.
- Marco -
SVG chart: length of axis-labels
Apparently there is a limitation on the length of x- or y-axis labels for a SVG chart.
Does anybody know how to display axis labels that are larger than 15 characters? Is there something that you can do with the CSS to increase the limit?Hi Jan,
not sure you are on the same as I was... but found in other thread that on the series page there is maximum rows setting defaulting to 15.
Hope that helps.
ta
alberto -
Hi,
I cause the following error to be raised when trying to save (Apply Changes) the query for an SVG chart:
ORA-20001: set_attribute error: ORA-01461: can bind a LONG value only for insert into a LONG column
The query just got 'longer' which prompts the question:
Is there an upper limit to the length (number of characters) of the query ?
Thanks for all and any help,
sinclairI cannot answer your direct question, but if your SELECT statement is hard-coded and not generated from PL/SQL, I can offer a possible work around. You could create a database VIEW using your SELECT statement and query the view in your SVG chart.
Mike -
Dynamic Text Field is not displaying foreign characters... HELP!
I have a dynamic text field that is not displaying foreign characters properly. They appear as boxes.
Here's what I've tried.
Under properties for the text field, I clicked on the embed characters button. In there, I pasted all the special characters I would need and clicked okay. Shouldn't this be enough for the text to display properly? What am I missing? Please help...More info: I'm noticing that in the actual dynamic text field in my .FLA file, if I type a foreign character like é, it pops up as a block. My family font is set to New Caledonia... is it possible that New Caledonia doesn't have those particular glyphs? The thing that doesn't make sense to me though is, last year when I made this card, it worked fine with New Caledonia... Any help is greatly appreciated!!
-
When typing in gmail (firefox) or thunderbird, randomly foreign characters will be produced like the keyboard has been set to spanish or french, but it is set to english, and the character encoding is set to what it is supposed to be. Web pages appear correctly.
Application Basics
Name
Firefox
Version
10.0.12
User Agent
Mozilla/5.0 (Windows NT 5.1; rv:10.0.12) Gecko/20100101 Firefox/10.0.12
Profile Directory
Open Containing Folder
Enabled Plugins
about:plugins
Build Configuration
about:buildconfig
Crash Reports
about:crashes
Memory Use
about:memory
Extensions
Name
Version
Enabled
ID
F5 Networks Host Plugin
7000.2011.0910.0354
true
{DBBB3167-6E81-400f-BBFD-BD8921726F52}
IE Tab 2 (FF 3.6+)
4.12.22.2
true
{1BC9BA34-1EED-42ca-A505-6D2F1A935BBB}
Microsoft .NET Framework Assistant
0.0.0
false
{20a82645-c095-46ed-80e3-08825760534b}
Skype Click to Call
6.5.0.11422
false
{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}
Modified Preferences
Name
Value
accessibility.typeaheadfind.flashBar
0
browser.places.smartBookmarksVersion
2
browser.startup.homepage
http://ca.search.yahoo.com?type=386496&fr=spigot-yhp-ff
browser.startup.homepage_override.buildID
20130103094221
browser.startup.homepage_override.mstone
rv:10.0.12
browser.tabs.warnOnClose
false
dom.ipc.plugins.enabled.npietab2.dll
true
extensions.lastAppVersion
10.0.12
gfx.blacklist.layers.direct3d9
2
keyword.URL
http://search.yahoo.com/search?fr=greentree_ff1&ei=utf-8&ilc=12&type=386496&p=
network.cookie.prefsMigrated
true
places.database.lastMaintenance
1358793548
places.history.expiration.transient_current_max_pages
51968
privacy.cpd.siteSettings
true
privacy.sanitize.migrateFx3Prefs
true
privacy.sanitize.timeSpan
0
security.warn_viewing_mixed
false
Graphics
Adapter Description
NVIDIA GeForce 6150 LE
Vendor ID
10de
Device ID
0241
Adapter RAM
Unknown
Adapter Drivers
nv4_disp
Driver Version
9.1.4.8
Driver Date
8-16-2006
Vendor ID (GPU #2)
00ad
Device ID (GPU #2)
00ad
Adapter RAM (GPU #2)
Unknown
Adapter Drivers (GPU #2)
Unknown
Driver Version (GPU #2)
2.1.3.0
Driver Date (GPU #2)
1-1-2007
WebGL Renderer
Google Inc. -- ANGLE (NVIDIA GeForce 6150 LE) -- OpenGL ES 2.0 (ANGLE 0.0.0.809)
GPU Accelerated Windows
0/1. Blocked for your graphics driver version.It is possible that you have switched the keyboard layout by accident.
* http://support.microsoft.com/kb/258824 - How to change your keyboard layout
Windows remembers the keyboard layout setting per application and you may have changed the keyboard layout by accident via a keyboard shortcut.
* http://support.microsoft.com/kb/306993 - HOW TO: Use the Language Bar in Windows XP
* Make sure that you have the Language bar visible on the Windows Taskbar
* You can do that via the right-click context menu of the Taskbar: Toolbars > Language Bar
* Check the keyboard language (keyboard layout) setting for the application that has focus via the icon on the Language bar
* You need to do that while Firefox has focus because Windows remembers the keyboard layout setting per application
* The default key combination to rotate the layout is the Ctrl+Shift or Alt+Shift combination that Firefox uses for some menu items
* To avoid an unintentional switch, assign a specific key sequence (Alt/Ctrl+Shift+number) to select keyboard layouts and remove the key combination to rotate layouts (Alt+Shift or Ctrl+Shift)
* Control Panel > Regional and Language Options > Languages > Text services and input languages > Details > Key Settings > Change Key Sequence -
ITunes crashes on attempt to play media with foreign characters
Recently, over the last few versions I have been unable to play any of my media that includes foreign characters, be it Asian characters or accented Roman characters. The fact of the matter is that upon attempting to play a song / audiobook / movie with a foreign character iTunes crashes.
I am using iTunes 10.6.1.7 on Windows 7 64-bit in English (UK) with non-unicode set to Japanese.
Windows crash report:
Problem signature:
Problem Event Name: BEX
Application Name: iTunes.exe
Application Version: 10.6.1.7
Application Timestamp: 4f71aced
Fault Module Name: amip.dll
Fault Module Version: 2.6.7.0
Fault Module Timestamp: 4b63548c
Exception Offset: 000b5954
Exception Code: c000000d
Exception Data: 00000000
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 2057
Additional Information 1: 3191
Additional Information 2: 319160cfbcc1295d9ca9b4d448d8f7e3
Additional Information 3: 62c3
Additional Information 4: 62c3b5fb8ab287fc898b342b661d3806
The media with foreign characters syncs with my iPhone okay, and will play without issue on it; just iTunes is unable to play said media on my computer, which is highly frustrating.
I would be appreciative if someone has found and would share any work-around to this problem. Thanks.I still have no thorough concept on how I have solved this but I suppose if anyone else has encountered this issue I can share how I worked around it:
I changed my windows system non-unicode locale back to its default (English UK).
I then installed Microsoft AppLocale to handle the programs that would be affected.
For experimental reasons I then set my iTunes executable to have Japanese locale through the AppLocale program.
It now operates fine and will play files with foreign characters.
Try it if you experience the problem's I've been having. -
Foreign Characters in Windows Vista AutoPlay Dialog Box
I have an iPhone 3G, using Vista. Upgraded to iTunes 8 (really like the changes so far), and also upgraded to 2.1 (so far so good), but have found a strange behavior when I connect my iPhone to my computer. I have searched the forums and have not found anyone discussing this yet.
As per usual, the AutoPlay dialog box opens, asking me if I want to view or import pictures, but my device is now called "iPhone 㽳筨緾", or at least that's the most recent name. I have discovered that in my registry there is a key called
[HKEYCURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersKnownD evicesWpdDeviceHandler_USB#VID_05AC&PID_1292&MI00#0]
that I suspect is causing the problem. I can edit the name of my device back to "iPhone", but every time I reconnect it, the name changes, and it has never been the same. I have shown 2 examples below:
Edited version: [HKEYCURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersKnownD evicesWpdDeviceHandler_USB#VID_05AC&PID_1292&MI00#0]
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6bdd1fc6-810f-11d0-bec7-08002be2092f}"=""
"Label"="iPhone"
"Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,\
73,00,62,00,61,00,61,00,70,00,6c,00,72,00,63,00,2e,00,64,00,6c,00,6c,00,2c,\
00,2d,00,31,00,30,00,31,00,00,00
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6ac27878-a6fa-4155-ba85-f98f491d4f33}"=""
Reconnect #1:
[HKEYCURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersKnownD evicesWpdDeviceHandler_USB#VID_05AC&PID_1292&MI00#0]
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6bdd1fc6-810f-11d0-bec7-08002be2092f}"=""
"Label"="iPhone㽳燰"
"Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,\
73,00,62,00,61,00,61,00,70,00,6c,00,72,00,63,00,2e,00,64,00,6c,00,6c,00,2c,\
00,2d,00,31,00,30,00,31,00,00,00
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6ac27878-a6fa-4155-ba85-f98f491d4f33}"=""
Reconnect #2:
[HKEYCURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersKnownD evicesWpdDeviceHandler_USB#VID_05AC&PID_1292&MI00#0]
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6bdd1fc6-810f-11d0-bec7-08002be2092f}"=""
"Label"="iPhone㽳筨緾"
"Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,\
73,00,62,00,61,00,61,00,70,00,6c,00,72,00,63,00,2e,00,64,00,6c,00,6c,00,2c,\
00,2d,00,31,00,30,00,31,00,00,00
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6ac27878-a6fa-4155-ba85-f98f491d4f33}"=""
I hope these foreign characters are coming across in this message, they show up right now as I type.
My suspicion is something in the .dll file that points to the icon, but I'm not a computer person by training.
I hope my description of the problem has been adequate. Anyone else experiencing this behavior as well?I am also having the same issue since my updates, and i find that the extra characters change (without me doing anything) each time i connect my iphone to my computer (vista).
Also since the updates, i was getting the blue screen of death when connecting my iphone to my pc, but after re-downloading the software & re-installing, i have not had any issues in regards to my pc crashing.
Not sure if the two are related somehow or if something has become corrupt on my pc.
Is there any information on this one yet?
Cheers,
Shelle -
Foreign characters not displaying
Hi... I am developing a web app that includes a database of world cities, many of which have foreign characters in their names. The MySQL database is displaying the characters correctly, but when it comes to displaying them in drop down menus, the foreign characters are displayed as blank boxes.
The application is a J2EE Java app.
In the index.jsp file, in the html section, I have specified various types of character sets, including the standard iso-8859-1 and utf-8, but none make a difference.
The home page with the drop-down menus is at www.your-astrology-report.com/index.jsp. From the pull-down menus, select "International", then "Greece", then "NON-ENGLISH FIRST LETTERS" and you'll see what I mean.
The database code that puts the city names into the drop down menu is as follows, although as a fragment, it's incomplete.
try{
out.print("<select name='city'>");
out.println("<option value='0'>Select Birth Town - Check Region!</option>");
if(letter.equals("?")){
q="select * from "+regid+" where country='"+country+"' AND city NOT RLIKE '^[A-Z]' order by city";
} else {
q="select * from "+regid+" where country='"+country+"' AND city LIKE '"+letter+"%' order by city";//city begins with letter
ResultSet rst=execute_sql_query(q);
int count=0;
while(rst.next()){
out.println("<option value='"+count+"'>"+rst.getString("city")+" - "+rst.getString("subdiv")+" "+SubDiv+"</option>");
count++;
out.println("</select>");
I am very new to Java.
Is there some basic way of telling either the query and/or the out.print statement to get, preserve, and display these foreign characters correctly?
Please keep it simple! Like I said, I'm new to all this, and most of the Google queries I've made to try to figure this out have been gobble-de-gook to me! LOL!
Thanks,
FartianThanks everybody for your suggestions. So far, I'm sorry to say, none of your suggestions have helped, though.
I suspect, though, that the reply concerning character streams (PaulClapham) holds the answer. I just don't know how to implement this in my case, i.e. how to apply this to the out.println statements in the previously given code block. My experience with Java is limited. Any ideas?
I should probably tell you how all this is structured in terms of one file calling another:
First we have the index.jsp (www.your-astrology-report.com/index.htm), which has dynamic input fields, the one in question being this:
<td colspan="2"><div id="cities"><select name="city"><option value="">Select City</option></select></div></td>
<td colspan="2">Select First Letter of City First!</td>div id="cities" refers to a function in a second file, xmlhttp.jsp, which is called by the dynamic input field located just above the "cities" field.
Here is the function:
function handleCityU(regid_letter_country){
document.getElementById("cities").innerHTML="Loading cities...";
url="internal_requestU2.jsp?regid_letter_country="+regid_letter_country.value;
var xmlhttp=myXMLHttpRequest();
xmlhttp.open("GET",url,true);
xmlhttp.onreadystatechange=function() {
if(xmlhttp.readyState!=4)return;
document.getElementById("cities").innerHTML=xmlhttp.responseText;
xmlhttp.send(null);
}This function passes the variable "regid_letter_country.value" to yet another file that then parses the variable, requests the required database data, and creates the out.println statements that then populate the dynamic pull-down menu that displays the cities in the original index.jsp file.
THIS IS WHERE I NEED IT TO BE DISPLAYING INTERNATIONAL CHARACTERS. The code for this part is what I originally posted.
Help!
Many thanks...
Edited by: Fartian on Mar 20, 2008 7:49 PM -
SQL Loader and foreign characters in the data file problem
Hello,
I have run into an issue which I can't find an answer for. When I run SQL Loader, one of my control files is used to get file content (LOBFILE) and one of the fields in the data file has a path to that file. The control file looks like:
LOAD DATA
INFILE 'PLACE_HOLDER.dat'
INTO TABLE iceberg.rpt_document_core APPEND
FIELDS TERMINATED BY ','
doc_core_id "iceberg.seq_rpt_document_core.nextval",
-- created_date POSITION(1) date "yyyy-mm-dd:hh24:mi:ss",
created_date date "yyyy-mm-dd:hh24:mi:ss",
document_size,
hash,
body_format,
is_generic_doc,
is_legacy_doc,
external_filename FILLER char(275) ENCLOSED by '"',
body LOBFILE(external_filename) terminated by EOF
A sample data file looks like:
0,2012-10-22:10:09:35,21,BB51344DD2127002118E286A197ECD4A,text,N,N,"E:\tmp\misc_files\index_testers\foreign\شیمیایی.txt"
0,2012-10-22:10:09:35,17,CF85BE76B1E20704180534E19D363CF8,text,N,N,"E:\tmp\misc_files\index_testers\foreign\ลอบวางระเบิด.txt"
0,2012-10-22:10:09:35,23552,47DB382558D69F170227AA18179FD0F0,binary,N,N,"E:\tmp\misc_files\index_testers\foreign\leesburgis_á_ñ_é_í_ó_ú_¿_¡_ü_99.doc"
0,2012-10-22:10:09:35,17,83FCA0377445B60CE422DE8994900A79,binary,N,N,"E:\tmp\misc_files\index_testers\foreign\làm thế nào bạn làm ngày hôm nay"
The problem is that whan I run this, SQL Loader throws an error that it can't find the file. It appears that it can't interpret the foreign characters in a way that allows it to find that path. I have tried adding a CHARACTERSET (using AL32UTF8 or UTF8) value in the control file but that only has some success with Western languages, not the ones listed above. Also, there is no set of defined languages that could be found in the data file. It essentaially could be any language.
Does anyone know if there is a way to somehow get SQL Loader to "understand" the file system paths when a folder and/or file name could be in some other langauge?
Thanks for any thoughts - PeterThanks for the reply Harry. If I try to open the file in various text editors like Wordpad, Notepad, GVIM, andTextpad, they all display the foreign characters differently. Only Notepad comes close to displaying the characters properly. I have a C# app that will read the file and display the contents and it renders it fine. If you look at the directory of files in Windows Explorer, they all are displayed properly. So it seems things like .Net and Windows have some mechanism to understand the characters in order to render them properly. Other applications, again like Wordpad, do not know how to render them properly. It would seem that whatever SQL Loader is using to "read" the data files also is not rendering the characters properly which prevents it from finding the directory path to the file. If I add "CHARACTERSET AL32UTF8" in the control file, all is fine when dealing with Western langauges (ex, German, Spanish) but not for the Eastern languages (ex. Thai, Chinese). So .... telling SQL Loader to use a characterset seems to work, but not in all cases. The AL32UTF8 is the characterset that the Oracle database was created with. I have not had any luck if I try to set the CHARACTERSET to whatever the Thai character set is, for example. There problem there though is that even if that did work, I can't target specific lagauages because the data could come from anywhere. It's like I need some sort of global "super set" characterset to use. It seems like the CHARACTERSET is the right track to follow but I am not sure, and even if it is, is there a way to handle all languages.
Thanks - Peter -
Image with foreign characters in name won't display
I have an image on my drive whose name has foreign characters ("c�pia de frente.jpg"). To display the image my JSP reads the image name from the database and generates the following html:
<img src="../pictures/c�pia de frente.jpg">The page then displays a broken image icon for this image. Images in the same list which do not have foreign chars get displayed accurately. When I choose "show image.." in my browser I see that the image name has been rewritten into the following: c%C3%B3pia%20de%20frente.jpg. The rewriting that will display the image is instead c%F3pia%20de%20frente.jpg. I found the correct rewriting on another of my JSP where the image with the foreign chars actually gets displayed correctly although the code to generate the html is the same on both pages and looks something like this (simplified):
<logic:iterate id="listelement" name="list" property="rows" scope="request" type="org.apache.commons.beanutils.DynaBean">
<%
out.write("<img src=\"../pictures/"+listelement.get("name").toString()+"\">");
%> <br>
</logic:iterate> Every image that doesn't have foreign chars in its name gets displayed accurately but images with foreign chars in their names won't display. What am I doing wrong?
Thanks
NiklasThanks, but it doesn't seem necessary to replace foreign characters. It works without replacing in one place but not in another which is confusing. I think it is something with the enconding but can't see what the difference is between the working and non-working code. In both pages I have put <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">I'd greatly appreciate any more suggestions to solve this problem.
-
FF4 hanging badly, so used IE6 & Opera 10.63 to register with & access Mozilla support site. Some words on those pages displayed in a foreign language (Arabic script?? )-- example, বাংলা (বাংলাদেশ)
Foreign characters on initial Support registration page, were in lieu of English words asking to select UserID & Password. (Page not entirely in foreign language--only parts. Request to repeat password choice, enter email, were in English).
I registered (guessing what to enter). Went to Support page [support.mozilla.com/bn-BD/kb/ask]. Greeted by statement: "Our volunteers haven't translated this article into বাংলা (বাংলাদেশ) yet."
No idea what language that is, or why u think I can read it. Presently logged in from U.S.That is Bengali ([http://www.mozilla.com/en-US/firefox/all.html]). Firefox 4 no longer has the language setting in the user agent and in your case it doesn't seem to work to detect the language.
You can change the bn-BD in the link(s) to en-US on the Mozilla sites. -
SVG: Chart error: ORA-20001:
Hi,
We are using 1.6.1.00.02 . I got a problem with SVG chart. The query returns following error:
SVG: Chart error: ORA-20001: bar_char_error ORA-20001: get_data_error: ORA-20001 Fetch error: ORA-01782
The column names are correct. The same query works perfectly in HTMLDB reports.
Following is the query:
SELECT
TRANSACTION_dATE,
SUM(SALES) SALES,
SUM(COST_OF_SALE) COST_OF_SALE
fROM HTML_SALES_REPORT_View
WHERE transaction_date between
'01-DEC-2004' and '31-DEC-2004'
GROUP BY TRANSACTION_DATE
Help will be appreciated.
Regards,
HamayunHi,
you have to use the following syntax:
SELECT link, label, value
Example
SELECT
null link, TRANSACTION_dATE label,
SUM(SALES) value ,
fROM HTML_SALES_REPORT_View
WHERE transaction_date between
'01-DEC-2004' and '31-DEC-2004'
GROUP BY TRANSACTION_DATE
And to display your cost_of_sale data you have to add a second series like this:
SELECT
null link, TRANSACTION_dATE label,
SUM(COST_OF_SALE) value
fROM HTML_SALES_REPORT_View
WHERE transaction_date between
'01-DEC-2004' and '31-DEC-2004'
GROUP BY TRANSACTION_DATE
because you can't display two lines with just one query.
I hope this will help.
Regards, Jörg -
SVG CHart error ORA-20001 with Stacked Bar Chart HTML DB 1.6.0.00.87
Hi,
during I put a How-To into execution (How To Create a Stacked Bar Chart) I'll get the following error code:
SVG Chart error:ORA-20001:line_Chart error:ORA-20001:
get_data error:ORA-20001:Parse error:ORA009
(see http://www.oracle.com/technology/products/database/htmldb/howtos/index.html)
This Situation occurs when i add a second series to the
chart. The first series works fine. I've used the following SQL-Statement:
select null l, sales_month, revenue from (select to_char(o.order_timestamp,'Mon YYYY') sales_month, sum(oi.quantity * oi.unit_price) revenue, to_date(to_char(o.order_timestamp,'Mon YYYY'),'Mon YYYY') sales_month_order from DEMO_PRODUCT_INFO p, DEMO_ORDER_ITEMS oi, DEMO_ORDERS o where o.order_timestamp <= (trunc(sysdate,'MON')-1)and o.order_timestamp > (trunc(sysdate-365,'MON'))and o.order_id = oi.order_id and oi.product_id = p.product_id and p.category = 'Audio' group by to_char(o.order_timestamp,'Mon YYYY') order by sales_month_order);
Please help.
Regards
DetlevWell,
I've just been struggling for a couple of hours with a cluster bar chart giving the same problem.
The problem is definitely with "ORDER BY".
I guess the graphing chart is taking the sql query as a string and then does some other manipulation on it which ends abnormally when you include the order by clause.
I presume that if you embed the query in a
SELECT * FROM (<actual query with order by>)
it might mitigate the problem.
Bye,
Flavio -
SVG chart x axis values out of order
Hi
I have an application built in apex 3.0 that is running from apex 3.1.
It has an SVG chart with an x axis that displays the dates as
01-JUN-2008
01-MAY-2008
02-JUN-2008
02-MAY-2008
03-JUN-2008 etc.
what is wanted is that it displays the dates as
01-MAY-2008
02-MAY-2008
01-JUN-2008
02-JUN-2008
03-JUN-2008 etc.
I did not build this application so how do I start to debug this chart and get it to display the dates in sequential order.
Sorry, I know I have probably not given you much info but hopefully you can give me some pointers.
regards
TonyHi Tony,
Did you find your answer?
Try looking at this post.
order x-axis in svg-graph by date
you will need to create a subqueary
something like
SELECT DATE, OTHER1
FROM (SELECT DATE, sum(OTHER) as OTHER1
FROM MY_TABLE
group by DATE)
order by DATE
This worked for me.
Peter
Maybe you are looking for
-
Hi. My Genre of prefernce is mostly classical. Spotify tends to arrange the playlist in an order that plays the 3rd or last movement first rather than the 1st. How do I change the order of songs played?
-
Hi, I get the popup/dialog when I double click on partner in sales document, there I fill name, email address and other details of the partner. I am able to capture partner name from FM SD_REPRESENTANT_GET_DATA by passing VBPA-PERNR but I'm unable to
-
Basic questions about JAAS capabilities
I've never used JAAS for authentication or authorization in a Java app before. Can somebody that has (or at least has some experience and knowledge about JAAS) please answer the following couple of basic questions about it? (I know I could probably a
-
I have a Mac Mini, OS X 10.6.8. I have been using the server Tierra.es for my emails but it is closing down. I want to transfer my list of contacts etc to a new account with Outlook. Is there a "simple" way to do this? Do I have to reconfigure my Mai
-
ITunes 5.0.1.4
Ever since i update to this latest version of iTunes, my iTunes can't recongnise my ipod shuffle even though win can. It displayed: "The software required for communicating with the ipod is not installed correctly. Please reinstall itunes to install