How to display the range of static labels on a bar chart
Hello, I have a requirement like this:SELECT NULL link,
'Data' label, 'Data2' label, 'Data3' label, 'Data4' label, 'Data5' label
100 "Cpu",
200 "Idle",
50 "Long",
60 "Conc",
70 "Sql",
20 "Share"
FROM dual
However, the graphical query only allows a single column using alias "Label". I tried this through various ways but no luck. All labels are hardcoded values and not from any data source. How can I achieve this?Thank you
Rich
Hello
I have
Series 1
SELECT NULL link, 'Data1' label , 100 "Cpu" FROM dual
UNION ALL
SELECT NULL link, 'Data2' label, 0 "Cpu" FROM dual
UNION ALL
SELECT NULL link, 'Data3' label, 0 "Cpu" FROM dual
UNION ALL
SELECT NULL link, 'Data4' label, 0 "Cpu" FROM dual
UNION ALL
SELECT NULL link, 'Data5' label, 0 "Cpu" FROM dual
UNION ALL
SELECT NULL link, 'Data6' label, 0 "Cpu" FROM dual
Series 2
SELECT NULL link, 'Data1' label , 0 "Idle" FROM dual
UNION ALL
SELECT NULL link, 'Data2' label, 200 "Idle" FROM dual
UNION ALL
SELECT NULL link, 'Data3' label, 0 "Idle" FROM dual
UNION ALL
SELECT NULL link, 'Data4' label, 0 "Idle" FROM dual
UNION ALL
SELECT NULL link, 'Data5' label, 0 "Idle" FROM dual
UNION ALL
SELECT NULL link, 'Data6' label, 0 "Idle" FROM dual
Series 3
SELECT NULL link, 'Data1' label , 0 "Long" FROM dual
UNION ALL
SELECT NULL link, 'Data2' label, 0 "Long" FROM dual
UNION ALL
SELECT NULL link, 'Data3' label, 50 "Long" FROM dual
UNION ALL
SELECT NULL link, 'Data4' label, 0 "Long" FROM dual
UNION ALL
SELECT NULL link, 'Data5' label, 0 "Long" FROM dual
UNION ALL
SELECT NULL link, 'Data6' label, 0 "Long" FROM dual
Series 4
SELECT NULL link, 'Data1' label , 0 "Conc" FROM dual
UNION ALL
SELECT NULL link, 'Data2' label, 0 "Conc" FROM dual
UNION ALL
SELECT NULL link, 'Data3' label, 0 "Conc" FROM dual
UNION ALL
SELECT NULL link, 'Data4' label, 60 "Conc" FROM dual
UNION ALL
SELECT NULL link, 'Data5' label, 0 "Conc" FROM dual
UNION ALL
SELECT NULL link, 'Data6' label, 0 "Conc" FROM dual
Series 5
SELECT NULL link, 'Data1' label , 0 "Sql" FROM dual
UNION ALL
SELECT NULL link, 'Data2' label, 0 "Sql" FROM dual
UNION ALL
SELECT NULL link, 'Data3' label, 0 "Sql" FROM dual
UNION ALL
SELECT NULL link, 'Data4' label, 0 "Sql" FROM dual
UNION ALL
SELECT NULL link, 'Data5' label, 70 "Sql" FROM dual
UNION ALL
SELECT NULL link, 'Data6' label, 0 "Sql" FROM dual
Series 6
SELECT NULL link, 'Data1' label , 0 "Share" FROM dual
UNION ALL
SELECT NULL link, 'Data2' label, 0 "Share" FROM dual
UNION ALL
SELECT NULL link, 'Data3' label, 0 "Share" FROM dual
UNION ALL
SELECT NULL link, 'Data4' label, 0 "Share" FROM dual
UNION ALL
SELECT NULL link, 'Data5' label, 0 "Share" FROM dual
UNION ALL
SELECT NULL link, 'Data6' label, 20 "Share" FROM dual
And the chart type is "Stacked Column 2D"
BR, Jari
Tags: Database
Similar Questions
-
How to display the pdf file in the apex region
How to view pdf file in an apex html region. pdf files are stored in the column of type blob of a table. Please note this is not a static file. I am able to create a link to download and view the pdf in a new window. But it's not my priority. I need to see the full pdf file in the html area.
I looked around the forums but couldn't find a good answer. All suggestions will be useful. Thank you
Hi Alexandre-Oracle,
Alexander-Oracle wrote:
How to display the pdf file in an html apex region. PDF files are stored in the column of type blob of a table. Please note this is not a static file. I am able to create a link to download and view the pdf in a new window. But it's not my priority. I need to see the full pdf file in the html area.
I looked around the forums but couldn't find a good answer. All suggestions will be useful. Thank you
See the following thread I explained how to display PDF in the region HTML using the embed tag:
I hope this helps!
Kind regards
Kiran
-
How to display the name of audio clip in the timeline?
How to display the name of audio clip in the timeline? I can see the label for video clips in the timeline, and when I hover over audio clip [I see the label, but otherwise, not l; abels show in audio editing.
Hi denniscallan,
Audio Clip names are disabled by default in first Pro CC. Turn it on go to the timeline (wrench) display settings in the timeline panel and choose Show names of Audio.
Hope that helps,
Kevin
-
How to display the result sqlplus in java?
I want to call sqlplus to run some commands sql in java, but how can I print the result of sqlplus?
In java code, I call sqlplus as:
Process of p;
Run the command
p = Runtime.getRuntime () .exec (commandString);
print the result of the command
InputStream inputStream = p.getInputStream ();
How to display the result of the execution?
Published by: Yi on February 26, 2012 23:41You can use ProcessBuilder. Copy the following code starts sql * more and runs the script in the variable "filename". It displays the results in the console of NetBeans.
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.File; import java.util.Map; public class test1 { public static void main (String args []) { test_script(); } public static void test_script () { String fileName = "@test_table.sql"; String sqlPath = "E:\\"; String sqlCmd = "sqlplus"; String arg1 = "user/password@sid"; -- plug in your user, password and db name String arg2 = fileName; try { String line; ProcessBuilder pb = new ProcessBuilder(sqlCmd, arg1, arg2); Map
env = pb.environment(); env.put("VAR1", arg1); env.put("VAR2", arg2); pb.directory(new File(sqlPath)); pb.redirectErrorStream(true); Process p = pb.start(); BufferedReader bri = new BufferedReader (new InputStreamReader(p.getInputStream())); BufferedReader bre = new BufferedReader (new InputStreamReader(p.getErrorStream())); while ((line = bri.readLine()) != null) { System.out.println(line); } bri.close(); while ((line = bre.readLine()) != null) { System.out.println(line); } bre.close(); System.out.println("Done."); } catch (Exception err) { err.printStackTrace(); } } } Here is the content of the script at E:\\test_table.sql
Prompt drop TABLE ANOTHER_TEST; DROP TABLE ANOTHER_TEST CASCADE CONSTRAINTS / Prompt Table ANOTHER_TEST; CREATE TABLE ANOTHER_TEST ( BATCH_SEQ NUMBER, BATCH_GROUP_ID NUMBER, STATUS_FLAG VARCHAR2(30 BYTE), OBJ_BEING_PROCESSED VARCHAR2(80 BYTE), BATCH_RUN_START_DTTM DATE, BATCH_RUN_END_DTTM DATE, CREATE_DTTM DATE, CREATE_USER VARCHAR2(30 BYTE), UPDATE_DTTM DATE, UPDATE_USER VARCHAR2(30 BYTE) ) LOGGING NOCOMPRESS NOCACHE PARALLEL ( DEGREE DEFAULT INSTANCES DEFAULT ) MONITORING / COMMENT ON TABLE ANOTHER_TEST IS 'This is a test table.' / EXIT /
-
How to display the width of the page or the big screen in firefox 11 automatically?
How to display the width of the page or the big screen in firefox 11 automatically? I know how to Ctrl +, ctrl - and ctrl 0, but is there a way to define 11 firefox to automatically set the page viewing by default "page width" or full screen (F11 not)?
Help, please. Thank you.You can use an extension to set a page zoom and the size of the default font on the web pages.
- Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
-
How to activate the range high voltage E364Xa power adapter
I use E364Xa power supplier code example downloaded with the driver E364Xa the Web site of NOR. I need the output in the range of high voltage voltage. Please see attachment tha. But the example code has been an error when the output voltage is greater than the range of low voltage. The default setting for the equipment is low voltage range. Does anyone know how to activate the range high voltage before you configure the output voltage?
Problem solved. I found the order of output range VI.
-
How to display the drop-down list box in MS excel by using labview report generation toolkit? Please post the block diagram of the code so that I can able to generate from the drop-down list box in excel with the menu drop-down...
Like this. (edition, use the reference forms instead of the reference to the worksheet)
Ben64
-
How to display the list of components in ultiboard 10?
The DRC report the errors where the components that are no longer in the design have been removed. How to display the list component and then remove them from the netlist to stop this?
Ultiboard reported missing errors of component (part 'X' is not about design) because the part is always referenced by a net. To fix this, you must remove the part of the net. Following the steps below to remove the part form the net.
1 tools > Netlist Editor
2. for each network that the part has been connected to, select the Net (upper-left).
3. Select the tab of pine trees, select the part and it is the PIN in the dialog box, then click on remove
The problem is when the part is removed, I see no easy way to determine the threads you need to remove the part of. I entered this as a feature request to make this easier, but as a workaround, you can put part and say Ultiboard what the missing part, then search the net names on the pins and remove the part of these pins
1 place a piece with a lot of pine trees (for example the part that was removed, or for example through Hole technology > Connectors > SIL & headers > HEADER2X9). When you place the part, make sure that the RefDes matches the RefDes of the part which has been removed.
2. once the room is placed, you should see rats nest lines that connect the part to the nets.
3 Zoom on the pins. You should now see the net name on each of the axes. For each of the pins connected, remove it from the net as described above.
4. remove the part that you placed.
-
How to display the name of my refnum on the front?
I write data to a file. To do this, I use ' Open/create/replace the file' to prompt the user for a file name, which is then out of my VI as a refnum. I then write strings in this file with "write to a text file.
How to display the name of the file (including the path) on the front panel once the user has entered it?
Michael
Use the Refnum at the path of e/s from file-> advanced file palette. You can wire it to a path indicator.
-
How to display the wireless in my xp on lenovo 3000n200 please show me shortened steps you
How to display the wireless in my xp on lenovo 3000n200 please show me shortened steps you
Hello
1. do you have problems connecting to the wireless network?
2. don't you make changes to your computer, after which the issue started?
3. where exactly you want to display the wireless network?If you have problems to connect to the network, I would recommend that you reinstall the wireless network cards.
Follow the steps in this article.
-
How to display the lsit of play while visualizations are playing
How to display the playlist while visualizations are playing
What version of WMP are you using?
You can usually right click the button reading at the top and select view the list pane.
-
How to display the date on the taskbar (toolbar)
Please tell me how to display the date at the bottom of the screen. Currently, everything is displayed is the time.
Hello
You said in addition to the clock so I initially think not that you need it however, others said it would be a good idea to show this method of date display. Also if you move the taskbar vertically the date is also displayed.
Always see the day, date and time in the taskbar
http://freewindowsvistatutorials.com/meetWindowsVista/taskbarAndSystemTray/showDayDateAndTimeInTheClock.phpYou can lift the taskbar is higher - make a right click on it - uncheck box lock the taskbar then take the upper part of it and lift it higher and the date will be under the clock.
--------------------------------------------------------------------
I found a utility that does on one level of the bar tasks if it does not have to be raised-
T - clock - free - 3 references to it:Windows7 like clock on the system in Vista & XP tray
http://www.tothepc.com/archives/Windows7-like-clock-on-system-tray-in-Vista-XP/TClock: See the Date Look like Windows 7 & time in the system tray in Windows XP and Vista
http://www.askvg.com/tclock-show-Windows-7-look-like-date-time-in-system-tray-in-Windows-XP-and-Vista/T - Clock of the Stoic Joker
http://www.greggdeselms.com/tclock.htmlI hope this helps.
--------------------------------------------------------------------------------------------
Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">-> -
How to display the .dcm file
How to display the .dcm file
Hello
This should help you.
http://www.FileInfo.com/extension/DCM
See you soon.
-
How to display the language bar and bring back the language switch to the taskbar?
How to display the language bar and bring back the language switch to the taskbar?
How to display the language bar and bring back the language switch to the taskbar?
Hello
According to the description, I understand that you do not want to display the language bar.
I would like to know some information.
You hide the language bar, or missing?
I suggest you try the steps mentioned below and check.
Go to the control panel.
Click on clock, language and region.
Region and language.
Keyboard and language tab.
Change keyboards button.
Language bar tab.
Then simply change the parameters of language bar hidden in the "embedded in the taskbar" and check.
Here, you can also check the option in the check box for display icons of language in addition to the taskbar bar.
Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.
-
How to display the speaker icon in the taskbar in windows 7?
How to display the "speaker" of the taskbar icon in windows 7?
Thank you
concerning
Jamal
Hi Jamal
1. right click on the taskbar, and then select Properties.
In the Notification area section, click the Customize button.
2. in the Configuration window, find the Volume icon.
The Drop Down Menu to select the icon lounge and Notifications.
3. If you don't see the Volume icon, click system icons activate or deactivate the link at the bottom of the window.
Find the Volume icon and select enabled in the menu dropdown.
Repeat step 2.
Let us know the results.
Concerning
Maybe you are looking for
-
Firefox installs Windows 10 but does not work
I've updated my installation of Windows 7 Pro 64-bit for Windows 10, taking the opportunity (at the same time) to install a SSD and re - install everything from scratch. I tried (many times) to re - install Firefox, and while it seems to install OK,
-
How to recover 'delete my music '.
I accidentally hit "Delete my music." Although I can still see the music purchased on iTunes store, it gives me opportunity to re - download or read the full version of the song. How can I undo 'remove my music? Thank you!
-
Volume options and the speaker in Windows XP icons are not active
The speaker in my taskbar icon disappeared and the solutions in contlol ane panel volume't available.original title: Volume
-
Pavilion TouchSmart 15-n070sa: upgrade Windows HP Pavilion 15
well I noticed online every body receives the windows icon on the task bar 10 there's what about me well, I want to upgrade so, I want to know is my pc will work with the windows 10? what I have to install something? or my pc is simply not work with
-
I printed the pages without any problems. Now, I printed out a page on cardstock with no problems. When I printed the second page on cardstock he printed some... stop... printed some... stopped again. Would appreciate your help...