Order of stacked bar chart
I am a chart to stacked bar and I needt to control the vertical bars. It seems to be always sort by alphabetical order of my descriptions. My descriptions are "Master of No", "Pre-Master" and "master".I want to:
Master's degree
Previous control
No control
It shows always like:
No control
Master's degree
Previous control
How can you check this?
The order of the columns in the criteria tab gives the order in the chart to stacked bars.
concerning
John
http://www.obiee101.blogspot.com/
Tags: Business Intelligence
Similar Questions
-
Multiple values per column in the stacked bar chart
I want to use a bar chart stacked in a dashboard of the process, but I am wondering how I can add multiple values per column, because through the available methods, you can only add one value per column. I add some values to hardcode and I get the chart but, for example, I want to add series anocher in the table named 'Closed' and values for this in each column (January, February, etc.)
Data source for filling
result as a Fuego.Chart.DefaultXYDataSource
result = Fuego.Chart.DefaultXYDataSource ("Opened");
addValue result
using
value = 5,
columnHeader = "January".
addValue result
using
value = 10,
columnHeader = "February".
addValue result
using
value = 15,
columnHeader = "March".
addValue result
using
value = 7,
columnHeader = "April".
I enjoyed your collaboration if you have worked with graphics stacked bar.Hello
You were very close.
Try to use the Fuego.Chart.XYZDataSourceImpl object. This will give you the third dimension that your stacked bar chart needs and these attributes in the addValue method:
- value
- rowHeader (maybe that's where you set your month name)
- columnHeader (maybe it's where set it to 'Open' or 'Closed' in your example)
Dan
-
Using cfchart stacked bar chart?
Are there examples of code for a stacked using cfchart in MX7 bar chart? I googled and searched without result.
Thank you!Never mind! I found the 'secret': use several tags chartseries within a cfchart tag.
-
Hi guys,.
I am new to BI, so a quick and simple question for you experts.
I have a horizontal bar on my rtf model graph... but my axis there is not being properly sorted...
I have data on my axis Y as
Period - P1, P2, P3, P4... P10, P11, P12, P13
I have a column order too
Ranking - 1,2,3 and 4... 10, 11, 12, 13
But my graphic is displayed in
P1, P10, P11, P12, P13, P2, P3... P9
Can you please guide me on how to get ordered the axis Y.
Hi reda,.
The query that is used to display the y-axis must include a clause of 'sort by period.
for example below is the query used to display the y-axis in you.
Select the period r, period d
;
Change to something like below
Select the period r, period d
order by period;
Hope this helps, if so mark as answer please.
-
Hello, with ColdFusion 8 this product code bars stacked double. The two chartseries are needed to produce a stacked effect. A bar battery is labeled 'Programs' and the second is titled '' registered programs. '' They are identical and contain both the data I want to display so of course, I want only one of them. Suggestions? Thank you.
< cfchart format = "flash" showlegend = 'yes '.
chartheight = "350".
chartwidth = "350".
showxgridlines = 'no '.
showygridlines = 'no '.
showborder = 'no '.
FontSize = "12".
FontBold = 'no '.
FontItalic = 'no '.
xaxistitle =""
yaxistitle = 'Count '.
show3d = 'yes '.
rotation = 'no '.
sortxaxis = 'no '.
showmarkers = "yes" seriesplacement = "bunk" >
< cfchartseries type is 'bar' query = "qAllProgramsCount" seriescolor = "blue" PostesColonne = "title" valuecolumn is 'prgCount' serieslabel = 'Programs' >
< cfchartseries type is 'bar' query = "qEnrolled" seriescolor = "red" PostesColonne = "title" valuecolumn is 'prgCount' serieslabel = "Registered programs" >
< / cfchart >
It never fails that as soon as I post a question I understand... in any case, it was them differentiating on the 'title' in my two queries. I made them the same thing and alto, a bar! Hope this helps someone.
-
Bar chart stacked - strange behavior on display null values
Hi all
I'm trying to graph a county of the end dates of the activities over several years by months grouped by project.
The problem I have is that there is a gap of 3 months where none of the activities that I am tracking complete. The default value for the stacked bar chart is to ignore the columns with no data (in my case it October-December 2015).
To view these any given month I went to properties graphic and ticked the box "Include Null values. At this point, I get a very strange behavior. Once this option is selected, the legend explodes, showing each project in the database regardless if it meets my criteria for analysis.
Has anyone another considering that happen? I'm doing something wrong?
If it's important I'm in the OBI 11.1.1.7.150120
Thank you for your help,
Kevin Wolfe
Hello
You have a filter on the list of projects you want to see?
Based on the way you describe your analysis I guess you don't have any what filter on the list of projects, but some of the filters on the other dimensions/attributes and these filters were limiting the list of projects.
If this is the case then what you see is not a weird behavior, but everything you've asked your analysis.
"Include null values" is not limited to the time dimension, it fits any dimension of your analysis, so no filter on projects = all projects.
-
Request for 3D stacked column chart
Hello
I had two 3D histograms. Each table has separated the SQL statement, which are very similar only difference is in the WHERE clause. Now I would like to combine the bottom two codes into one and create only a single 3-d stacked column chart.
CODE 1:
Select
link null, label RECEIVED_DATE, COUNT (TICKET_ID) as "received".
Of
QTMT_TICKETS
where
RECEIVED_DATE BETWEEN sysdate-7 AND sysdate AND
BATCH = 1
Group
RECEIVED_DATE
order by
RECEIVED_DATE / / desc
CODE 2:
Select
link null, RECEIVED_DATE, COUNT (TICKET_ID) label as "rejected."
Of
QTMT_TICKETS
where
RECEIVED_DATE BETWEEN sysdate-7 AND sysdate AND
BATCH = 11
Group
RECEIVED_DATE
order by
RECEIVED_DATE / / desc
Would you please so kind and help me with this? I tried to do it, but failed.
Thank you very much and best regards,
Vladimir
Refer to this link to add an additional series: How to create a stacked bar chart
Thank you
Tony Miller
Software LuvMuffin
Ruckersville, WILL -
How can I prevent my graphic line to cover the bars in my bar chart?
I have a stacked bar chart, and I have horizontal lines along the vertical axis (essentially the tick marks which are dotted lines that extends from left to right). The problem is that they are first bars and they need to be behind bars (in other words not visible in the places that they intercept the bars)
I hope that I don't need to create a background for the lines layer, because it is the source of my next question/problem.
assuming that you created it in illustrator - selects the lines - and then in your main menu click on object > Arrange > Send to back
-
Percentage of the stacked bar graph display
Hello
Can someone tell me please how to display percentages on a stacked bar chart. All the time, it shows actual values.
For example...
| | | | |
| |18% | | |
3000 |
| | 70 % | | |
2000.
| |12% | | |
1000 |
-----------------------------------------------
T1 T2
I hope I could describe it. :-)
Thank youOne of {OracleBI} \web\app\res\s_oracle10\popbin. Did you reboot the server presentation and the javahost?
concerning
John
http://obiee101.blogspot.com -
How to display the percentage on the bar chart.
Hello
Can someone tell me please how to display percentages on a stacked bar chart. All the time, it shows actual values.
For example...
| | | | |
| |18% | | |
3000 |
| | 70 % | | |
2000.
| |12% | | |
1000 |
-----------------------------------------------
T1 T2
I hope I could describe it. :-)
Thank youHello
Thanks for your reply. I used your code. But still, I do not get the correct result. The value in the xml file is
I say 12 so it should be displayed as 12%, but instead I get 1200%. If I divide the value of 100, then I get
correctly by 12%. But the beaches on the X axis is disrupted. Sound also get divided by 100, and instead of
0 - 40-80
it becomes
0-.4-. 8, which I think its get divided by 100.
Is there a way I can avoid this?Thank you
Krishna -
How to create a 'Floating Stacked Bar' graph
Hello world!
My requirement is to implement a graph as follows:
https://DL.dropboxusercontent.com/u/18609389/ScreenShot350.jpg
It seems to be a 'Floating Stacked Bar', but I'm not able to find the tutorial or reference to do.
For each year, I have to draw a red bar at the top with a positive value, and a blue bar to the downside with the negative value.
I know how to get the data, but down exactly know how to compose the query VO waiting for the chart.
Thanks in advance!
Jose.
Hello world
Finally I did after days of fighting. The main reason it has not worked is because I was mistaken with the type of graph that I was actually looking for which is:
Subtype = "BAR_VERT_STACK".
https://DL.dropboxusercontent.com/u/18609389/ScreenShot354.jpg
On the data, to a line for each series, so I have 2 lines (red, blue, data) and a column for each year (Group).
It may be useful to someone.
Kind regards
Jose.
-
Hello
I created a Gantt chart and discovered a problem. Jobs don't always appear in chronological order.
I tried to order the query by date, but then the tasks don't always show next (or in the same order) on the bars to the right of the plan.
Is anyway I can order the tasks without losing the alignment with the diagram of the individual task bar?
Thanks in advance.
Hello
You have not specified what type of Gantt chart, you use: it is a project gantt chart or resource? In addition, you are dealing with hierarchical data?
Looks like you might be dealing with hierarchical data and the order in which the data are generated is cause your problem and culminating in the timeline entries being out of alignment with the datagrid control. So, without seeing the application in use, my suggestion would be to update the query to generate a hierarchical representation of your data via an START WITH... CONNECT BY question, using a syntax similar to the following:
Select the
link,
TaskName,
ID,
parent_id,
start_date,
End_date,
status
tasks _table
Start by parent_id is null
connect by parent_id = prior id
siblings arrested by start_dateIf the query is retrieving the list of tasks and then hierarchically by listing the based on parent-child association which was held in the PARENT_ID of the table column. The end result means that each parent task is listed with their tasks associated with children and sorted by START_DATE.
If this isn't answering your query, please update this thread with more information about your test scenario. Even better - if you could create a unit test on apex.oracle.com and post a link to the unit test and the syntax of the query you are using, it would be very useful.
Kind regards
Hilary
-
Display the values of the 2D stacked column chart
Hello
I use the following sql which shows the percententage of errors in a month
Now the values are displayed correctly, however, the stacked bar displays the real percentage value, for example 60% on stacked bar. When we mouse over the bar it shows "No D", Sys, Oth. Is there a way to display permanently type Decode and percentages?SELECT NULL , TO_CHAR(MA.DATE_LOGG,'Mon'), sum(decode(el.error_type,'On',1,0)) "Ons", sum(decode(el.error_type,'Pa',1,0)) "Prt", sum(decode(el.error_type,'No D',1,0)) "No D", sum(decode(el.error_type,'Sys',1,0)) "Sys", sum(decode(el.error_type,'Oth',1,0)) "Oth" FROM table1 MA, table2 EL, table3 CR WHERE MA.ERROR = EL.ERROR AND MA.ERROR IS NOT NULL AND MA.COUNTRY = CR.COUNTRY_CODE AND TO_CHAR(DATE_LOGG,'YYYY') = nvl(:P5_FILTER,to_char(sysdate,'YYYY')) AND CR.REGION_CODE = NVL(:P5_REGION,CR.REGION_CODE) GROUP BY TO_CHAR(MA.DATE_LOGG,'Mon'), trunc(ma.date_logg, 'Month') ORDER BY trunc(ma.date_logg, 'Month')
Apex 4.1 / 11g
Thank you
SunHi Sun,.
If you would like to add the series name in the values displayed in the bar of the items themselves, then you will need to customize the XML graph and update the
tag to embed {% SeriesName}. I've added an example for my sample application, indicating where the XML code must be changed: http://apex.oracle.com/pls/apex/f?p=36648:90. For a complete list of available AnyChart keywords, such as % SeriesName, please see the AnyChart online documentation: http://anychart.com/products/anychart/docs/users-guide/label-text-formatting.html?fromtree. I hope this helps.
Kind regards
Hilary -
Hello
Is it possible to create a battery bar graph, I see no option other than the vertical bar similar chart type. Can anyone confirm if they were able to create a bar graph stack in the answers?
Thank youYes, you can...
Choose vertical or horizontal bar chart, and then change the type of 2d or 3d stackThank you
Vino -
Bar chart to the standard (for example in the sale of sample)
Hello
There is a chart in the catalog of sample sale I want to use but I don't understand how it's done. Maybe someone here can enlighten me.
This is the report of the variability in the sample - file hierarchy and distribution sales. The graph is a vertical bar chart, which also displays a horizontal line (the median). The graph I'm doing is a vertical bar stacked with a standard (such as the median) inside. Does anyone know how they got this right horizontal line in the graph. I tried to build an additional graph in the same report, but could not look the same.
Thank you
YvonHey the orbit.
I have no opinion on the report... but if you want to add a standard 'hardcoded', it's easy to do.
In your chart, you go to the axis scale. In the pop-up window, click the button modify scale markers.There, you can add a line or a range for your report.
I hope this can help you.
KR,
A
Maybe you are looking for
-
Satellite A660 - 11M - I can not use wireless - seems to be swiched off
The free thread is disabled and he let me turn on the switch wireless, but when I pressed the key that in front of the keyboard, easycontrol bar and just have no reaction and wireless light does not work on.I wonder is there is another key to turn it
-
Service Pack downloads on reinstalled Windowx XP OS 1,2,3
Due to problems with my laptop, I had to re install Windows XP. I need at least service pack 2 to download my air card broadband for internet access because it requires at least Service Pack 2 to download the Sprint air card that is needed to access
-
really frustrated of reinstalling windows xp
I seems that I can't run .exe files... when I put in the disk to reinstall windows XP and somehow get on the disc, the menu has reinstall #1... I click on that one and it hangs, that nothing happens - I don't know how everyone says they became a hit
-
I'm looking for an experienced project developer. Contact me to discuss. -Perry
-
Windows 7 Upgrade Advisor - Rhine II fast ethernet ADAPTER
I am currently running XP SP3 32 bit on AMD Athlon 64, 2 GB RAM machine. I want to upgrade to Windows 7 64 bit. I read this: http://windows.microsoft.com/is-IS/windows7/help/upgrading-from-windows-xp-to-windows-7 I ran the Windows 7 Upgrade Advisor