Bar with percentages chart
I'm on APEX 4.2 and want to create a 3-d percentage (instead of County) bar graph. The wizard gives only an option for a tank stacked percentage bar. My SQL returns the account and I thought I could use the '% YPercentOfSeries' option on the XML list. I was able to get to the screen to indicate the percent correct in putting that in the < label_settings > section (see below), but the bar heights legend and axes are based on the number of counts. Any ideas?
< label_settings enabled = "true" mode = "Outside" multi_line_align = "Center" >
format <><! [CDATA [{% YPercentOfSeries} {numDecimals:0} %]] > < / size >
< background enabled = "false" / >
< font family = "Tahoma" size = "10" color = "0x000000" / >
< / label_settings >
Rather than return to the counts of the query, you can return to the ratio_to_report, which is the percentage regarding the report.
Instead:
Select deptno,
count (*) c
of the Department
Group of deptno;
Try this:
Select deptno
ratio_to_report (Count on ratio)
dept group by deptno;
Then you don't need to do something special for the chart.
Tags: Database
Similar Questions
-
problem with external preloader bar with percentage number?
Hello!
I'm learning just AS3 with flash cs5 and I used the template "preloader for external file" with the big red bar. The bar is progressing very well! But then, I wanted to add a percentage number so I tried a number of things with the code. The result: the bar does not move forward and the percentage number works allright. I leave the code. Can someone help me?
var contentLoader:Loader;
loadContent ("painting1.swf");
function loadContent(url:String):void
{
contentLoader = new Loader();
contentLoader.contentLoaderInfo.addEventListener (P rogressEvent.PROGRESS, loading);
contentLoader.contentLoaderInfo.addEventListener (vent.COMPLETE, contentLoaded (E);
contentLoader.load (new URLRequest (url));
}
function contentLoaded(evt:Event):void
{
removeChild (progressbar);
removeChild (myLoadText);
addChild (contentLoader);
}
function loading(evt:ProgressEvent):void
{
var loaded: number = evt.bytesLoaded / evt.bytesTotal;
load = Math.round(loaded * 100);
myLoadText.text = String (uint (loaded)) + '% ';
setBarProgress (loaded);
}
function setBarProgress(value:Number)
{
progressbar.bar.scaleX = value;
}You want to set the progress bar scaleX from 0 to 1, but you set it to 0 to 100 so that your bar is 100 times larger than it should be.
You can change your function of loading in order to:
... var loaded:Number = evt.bytesLoaded / evt.bytesTotal; myLoadText.text = Math.round(loaded * 100) + "%"; setBarProgress(loaded); ...
-
bar with diagonal lines pattern chart
Hi all
I need to create a bar chart where it will be filled with lines inside. The diagonal white lines has alternating with bands of another color chosen dynamically.
I know we have itemrenderers and we can use it.
I was able to fill the full bar with a picture
But not able to reach the exact needs.
Pls help...
Hi Marco,.
Use of the component below as an itemRenderer for your histogram, you will reach the desired output, you need.
package components.renderers
{
import flash.display.Graphics;
Import mx.charts.series.items.ColumnSeriesItem;
Import mx.core.IDataRenderer;
Import mx.core.UIComponent;
SerializableAttribute public class BarColorItemRenderer extends UIComponent implements IDataRenderer
{
public static const colors: Array = [0 x 000000, 0 X 938953, 0X1F497D, 0XC0504D, 0X9BBB59, 0X8064A2, 0X4BACC6, 0XF79646, 0X7F7F7F, 0X548DD 4, 0 X 632423, 0X4F6128, 0XB2A2C7, 0X31859B, 0 X 974806, 0X20B2AA, 0XF5DEB3, 0XDDA0DD, 0XE9967A, 0X7FFFD 4];
private var _chartItem: *;
public void BarColorItemRenderer () {}
Empty constructor.
}public function get data (): object {}
Return _chartItem;
}public function set {data(value:Object):void}
If (ColumnSeriesItem)
{
_chartItem = value as ColumnSeriesItem.
}
invalidateDisplayList();
}
override protected function updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void {}
super.updateDisplayList (unscaledWidth, unscaledHeight);
var Graphics = g:Graphics;
g.Clear ();
g.beginFill (colors [(_chartItem == null)? 0:_chartItem.index]);
g.drawRect (0, 0, unscaledWidth, unscaledHeight);
g.lineStyle(2,0XFFFFFF,1);
var barY: int = 10;
var moveX:int = 10;
moveY var: int = 0;
var stripWidth:int = 10;
While (barY< unscaledheight="" ||="" movey=""><>
{
g.moveTo (moveX, moveY);
g.lineTo(0,barY);
If ((moveX + stripWidth)<>
{
moveX += stripWidth
}
on the other
{
moveX = unscaledWidth;
moveY += stripWidth.
}
barY += stripWidth.
}
g.endFill ();
}
}
}Thank you
Jean Claude Chari
-
I pressed on restart all the settings on my iPad Mini 2, so it loaded but it drained. So I rebooted it until he turned back when he turned his back, it was still showing the progress bar, but it was quite moving. I tried to hold down the lock button and the home button, but still, it loads, its stuck on the progress bar and did not progress. I tried to connect to my computer to connect to itunes, but it does Duke host because its deadlock on the progress bar with the apple logo. .pls help me!
Try restoring your backup and recovery mode: If you cannot update or restore your iPhone, iPad, or iPod touch - Apple Support
-
I lost the top bar with my file and edit with cut, copy and paste functionality
I lost the bar with the following functions: file, edit them with cut, copy and paste
See-> https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36#w_why-are-the-menus-file-edit-view-etc-missing
Also on the menu of the Firefox button, the Edit option is there. 3 after the word 'Edit' icon will be "not gray" if something is highlighted on the page, or something already exists on the Clipboard. The "arrow" to the right of the Edit will give you the options of text instead of icons.Other frequently asked questions after the upgrade: https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36
You must upgrade to a newer version than the Firefox 4 with the included information in your question that you are using.
- See-> https://support.mozilla.com/en-US/kb/Finding+your+Firefox+version
- See (download version)-> https://www.mozilla.org/en-US/firefox/all.html
- Firefox 9 scheduled for 20-12 - 2011
- See-> https://support.mozilla.com/en-US/kb/Installing%20Firefox
- See-> https://www.mozilla.org/security/known-vulnerabilities/firefox.html#firefox8
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update if necessary:
- Plugin check-> http://www.mozilla.org/en-US/plugincheck/
- Adobe Shockwave for Director Netscape plug-in: install (or update) the Shockwave with Firefox plugin
- Adobe PDF plugin for Firefox and Netscape: Installation/update Adobe Reader in Firefox
- Shockwave Flash (Adobe Flash or Flash): updated Flash in Firefox
- Next-generation Java plug-in for the Mozilla browser: install or update Java in Firefox
-
A black bar with directions appears - how can you eliminate?
It's a narrow bar with half circles on the ends. Directions are also spoken. The bar can be shortened, but not deleted or trashed.
It appeared a week after that I must have turned it on.This?
You might pass on the VoiceOver Accessibility feature (System-> Speech Preferences; (fn) Cmd - F5)
-
Chart how many plots with wpf chart
This is probably a very basic question, but I can't understand how the chart more than a set of data with the chart WPF in VS2010. There is a DataSource property on the chart, but I don't see the same on each class of land. I can't find any documentation on the source property of the chart data. Can I pass an array of doubles and he plots very well but now I need to draw two sets of data. Can anyone help?
The
DataSource
property is documented in the how: map and graphic subject and on theGraphBase
class (which is the type that defines the property). However, it seems that these issues do not directly address your question multiple plot; I put in a request to improve this.To answer your question, if you use
DataSource
to pass an array ofdouble
values in a plot, you can use a collection to pass data to multiple locations (for example adouble[][]
, aList
, or aObservableCollection
).Otherwise, you could use the
Data
collection to provide each parcel with data; for example:graph.Data[0] = /* double[] for plot 0 */;
graph.Data[1] = /* double[] for plot 1 */;
~ Paul
-
How can I move the 'blue bar' with the start option and the clock and icons on the left side of the screen to the bottom of the screen. It's happened before and I forgot how to move.
Hello pookprec
.
-
Original title: plugin prob
When I try to watch/listen to video and other media on Google Chrome, a yellow bar with ' an additional plugin is required to view some items on this page "always comes to the top. I found it quite frustrating, and when I do not click on 'Install plugin' Google Chrome is unresponsive. I then refresh the page, click on the yellow bar once again. How can I change the additional Plugin to websites like YouTube etc. ?
Start here: http://support.google.com/chrome/?hl=en
-
I lost the right scroll bar with the arrow on my monitor.
I lost the right scroll bar with the arrow on my screen. I also lost the clock on my toolbar at the bottom.
Check the resolution of your screen. If you are using Windows 7, you can right click on your desktop and click on the screen resolution - make sure that the correct resolution for your monitor is selected.
If it is a desktop computer with a monitor, you may also reset the default settings of the monitor using the menu key. Depending on your model, the steps will be something like those here.
-
I am connected to the internet, but it is said in the toolbar not connected and connections are available. There is only 1 link and I'm connected to it. How can I change display green bars, instead of grey bars with a yellow star?
As the title says.It's weird, and I think that this is the reason why some of my programs connect properly?Does anyone have a solution to fix this problem?Hi DamienDwyer,
1. are you referring to the status of job internet bar?
2 when the problem started?
3. have you made changes on the computer recently?Method 1
Try troubleshooting of network running.Use Network Troubleshooter event logs to solve network problems
http://Windows.Microsoft.com/en-us/Windows7/use-Network-Troubleshooter-event-logs-to-solve-network-problemsMethod 2
check the status in safe mode with network and display the results.Start your computer in safe mode
http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-modeMethod 3
I suggest you try the steps from the following links:Windows wireless and wired network connection problems
http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-WindowsWireless network card: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows7/wireless-networking-frequently-asked-questions -
Using the Pivot operator with percentages
I use Oracle 12 c DB. I'm trying to use the SQL pivot operator to give me an output of the matrix. I need to display 2 separate outputs, one with the charges and another with percentages. I have the following SQL to get the counties, but I don't know exactly on the SQL for the percentages. Please notify. TX
with pivot_data as (select 'score', 'Observer_LastName', 'profile_id'
FROM MyTable
where substr ("Observer_LastName", 1, 1) s = ')
SELECT *.
of pivot_data
PIVOT (count ("profile_id")
FOR 'partition' IN ('0', '1', '2',' 3')
)
Hello
Using the table from scott.emp provided by Oracle, which has these counts for deptno and job:
WORK DEPT_10 DEPT_20 DEPT_30
--------- ------- ------- -------
ANALYST 2
CLERK 1 2 1
MANAGER 1 1 1
PRESIDENT 1
SELLER 4
You can get out of the percentages, like this:
WORK DEPT_10 DEPT_20 DEPT_30
--------- ------- ------- -------
ANALYST OF 100.00
THE CLERK 25.00 50.00 25.00
MANAGER OF 33.33 33.33 33.33
PRESIDENT 100.00
SELLER 100.00
using a query like this:
WITH pivot_data AS
(
SOME jobs, deptno
100 * RATIO_TO_REPORT (COUNT (*))
RESUMED (work PARTITION) AS pct
FROM scott.emp
Working GROUP, deptno
)
SELECT *.
OF pivot_data
PIVOT (MIN (pct)
TO deptno IN (10 AS dept_10
20 AS dept_20
30 AS dept_30
)
)
ORDER BY job
;
-
I have accidentally disabled Standard or Document to the menu bar, now I can't locate the Code, code split, preview in browser and others.
How can I get the menu bar with preview in browser and Code, split Code, design to appear? (DW CC)
Found. View > toolbars > Document.
-
It should look like the black bar with Petite & contacts on top: thefactorylondon.com/news
When you scroll down, the 'black bar' always follow and stay on top.
Very nice IMHO!
Is there an easy way to this?
Thank you!
Hello
You can do this in Muse by using the option "Pin" available in the control panel.
What you need to do is "pin code" bar black as well as the menu and other items to the top of your screen and then it will always stay at the top and follow while you scroll down.
Please refer to this screenshot:- http://prntscr.com/564utj
Hope this helps
Kind regards
Rohit Nair
-
My XI Acrobat Standard 11.0.09 lost menu bar (F9) and crazy jumps full screen, losing windows buttons high bar, passing just above the menu bar with the mouse cursor, without clicking.
Yes, it's important somehow. Kapersky broke it somehow and fixed. http://Forum.Kaspersky.com/index.php?showtopic=307391&HL=Adobe
Maybe you are looking for
-
Cannot remove the bing.vc start page.
I have tried everything I can find to stop the bing.vc to open start page in firefox version 39 and so far nothing has worked. I can't find a reference to in about: config. firefox update did not help; No Add-ons refer to him and protect the pipes or
-
filter of roughness on Labview
Hello I have a surface profile, and I would find the roughness. I need to use a filter to remove the ripple and keep only the roughness profile. How do I do it on Labview, because I can't use filters to remove the ripple. Thank you Sylvain
-
Is there a way to access document scripts through javascript?
I know that I can add and remove a script from the document through name, but is there a way to access the actual content of the writing of the document?I have a script that I use in an action to complete a large number of forms I create (clears the
-
TODAY, DO NOT RECEIVE THE PHOTOSHOP 3D
PHOTOSHOP CC, 10 WINDOWS,Today, DO NOT GET ON 3D PHOTOSHOP after you have created a PATCH for EXTRUSION, ON ESSENTIALS, I GO to the 3DME ERROR CODE.WHAT SHOULD I DO? ,3D WORD PRINTER I SEE IN ONTARIO.BEST!
-
Question: I want to improve my Master Suite CS5 Creative Suite Web Premium... I have the serial number etc, but can't find any connection point to Adobe to pay the price of upgrade and download the Master Suite... what should I do?