Create bar chart w/ X-axis
I have a simple spreadsheet as shown below: (Both Col B and Col C are NOT header columns)
ColB ColC
1 10
2 20
3 30
When I highlighted them and created a 2-D bar chart, Numbers treated the data in Col B and C as Y-axis data with X-axis being untitled.
However, what I want is Col B is X-axis and Col C is y-axis. The only way I can do that is set Col B as header column.
Is there any way I can do the same w/o header column??
Joe,
Bar charts are Category Charts. Category charts must have Text, not Numeric, data for the category axis (what you are calling the X-Axis). You can try formatting Column B as Text before charting.
Jerry
Similar Messages
-
Create Bar Chart - Combine Year, Qtr & Week
Post Author: Rozita
CA Forum: Charts and Graphs
Hi,
Does anyone know how to create bar charts using crystal report IX like below details?
I have a data from Year 2000 until Year 2007. I want to display certain value for 3 year + Qtr value for current year + Week value for 5 week only.
Table
2005 678
2006 655
2007 874
Qtr1 526
Qtr2 475
Qtr3 555
Qtr4 658
Wk22 145
Wk23 254
Wk24 356
Wk25 458
Wk26 584Post Author: Rozita
CA Forum: Charts and Graphs
Thanks for your reply but i want to display all to be in one chart. (Year + Qtr + Week).
eg :-
2005 2006 2007 Qtr1-2007 Qtr2-2007 Qtr3-2007 Qtr4-2007 Wk24 Wk25 Wk26
value 845 545 256 241 451 365 458 124 157 254
Sample record in database like this:
Year Week Value
2005 1 578
2005 2 457
2006 2 652
2006 3 657
2006 4 547
2007 1 457
2007 2 654
Thank you. -
Creating Bar Charts using Java and Display in jsp
Hi..Is it possible to create a servlet that processes data from database and display the values as Bar Charts in jsp pages. If its possible, is there any examples on how to achieve that?
I don't get it. You already know what needs to be done to solve your problem, the only thing you are missing is the HOW. That's the easy part, if only you break down what you have to know:
1) how do I show an image on a website (this is a basic HTML question actually, not actually related to servlets/JSPs directly)
2) how do I fetch the path from a database (JDBC question) so that I can use this path to link to my image on disc
So what is preventing you from figuring out how to do these two simple tasks? Some clever google searches should give you all the information you need in no time.
by the way: are you sure that you need to store these paths in the database? Is this part of some file upload component? -
HOW TO creat BAR CHART using ABAP Programming
DEAR ALL,
I want some help as to how to creat GRAPHICAL display using ABAP programing (BAR CHART) any sample codes Example will be very helpful.
Regards,
VJOn earlier versions, you can do something like this.
[code]
REPORT ZRICH_0005 .
DATA: BEGIN OF ITAB_DATA OCCURS 0,
DATANAME(15),
QUANTITY1 TYPE I,
QUANTITY2 TYPE I,
QUANTITY3 TYPE I,
END OF ITAB_DATA.
Data: BEGIN OF ITAB_OPTIONS OCCURS 0,
OPTION(20),
END OF ITAB_OPTIONS.
ITAB_DATA-DATANAME = 'Maple'.
ITAB_DATA-QUANTITY1 = 5500.
ITAB_DATA-QUANTITY2 = 6200.
ITAB_DATA-QUANTITY3 = 5900.
APPEND ITAB_DATA.
ITAB_DATA-DATANAME = 'Oak'.
ITAB_DATA-QUANTITY1 = 3500.
ITAB_DATA-QUANTITY2 = 5200.
ITAB_DATA-QUANTITY3 = 4400.
APPEND ITAB_DATA.
ITAB_DATA-DATANAME = 'Cherry'.
ITAB_DATA-QUANTITY1 = 1800.
ITAB_DATA-QUANTITY2 = 2200.
ITAB_DATA-QUANTITY3 = 1900.
APPEND ITAB_DATA.
CALL FUNCTION 'GRAPH_MATRIX_3D'
EXPORTING
COL1 = 'Jan'
COL2 = 'Feb'
COL3 = 'Mar'
TITL = 'Lumber Usage in $'
TABLES
DATA = ITAB_DATA
OPTS = ITAB_OPTIONS
EXCEPTIONS
OTHERS = 1.
[/code]
Regards,
Rich Heilman -
Bar chart with dual axis plotting incorrectly
Hi,
I have created a BAR_VERT_CLUST2Y, which has 4 series of data.
The problem I am experiencing is that when the data is charted, it appears that only the first series of data charts correctly (i.e. from the left axis). The second series of data charts from the right axis and the remaining series all chart on the left axis. I would have thought that the first and second series use the left axis and the third and fourth use the right?
I would be grateful if anyone had any suggestions how this can be resolved or if they have come across something similar and found a way around it, it would be much appreciated?
Many thanks.
P.Xcelsius does not currently support dual axis. However, the workaround to this is to layer two charts on top of each other. You would then need to add line components and labels to complete the effect.
-
How to create Bar chart from existing XML file
Hi all,
i'm new to flex, i need your help to develop a flex for
dashboard app. we have sample.xml file. by using this i need to
create a bar diagram or piechart.
Please help me out
The XMl looks like this.....
<?xml version="1.0" encoding="utf-8"?>
<user id="123412343">
<fullName>
<lastName>Telles</lastName>
<firstName>vijay</firstName>
</fullName>
<preferences>
<modWidth>235</modWidth>
<modHeight>250</modHeight>
<totalWidth>1650</totalWidth>
<totalHeight>1650</totalHeight>
<modsX>4</modsX>
<modsY>2</modsY>
</preferences>
<module id="Status2">
<windowOpen>true</windowOpen>
<pointsToShow>
<p label="Proposed"/>
<p label="Draft"/>
<p label="DEP Adpt"/>
<p label="EPA Adpt"/>
</pointsToShow>
<dataSetsToShow>
<label>2006</label>
<label>2007</label>
</dataSetsToShow>
</module>
</user>convert this xml to ArrayCollection called chartData
var charOption:String = "totalHeight"; /Use this to set the
yField property...
<mx:ColumnChart showDataTips="true" id="barChart"
width="100%" height="100%" dataProvider="{chartData}"
color="0xffffff">
<mx:horizontalAxis>
<mx:CategoryAxis
dataProvider="{chartData}"
categoryField="hour" />
</mx:horizontalAxis>
<mx:verticalAxis>
<mx:LinearAxis labelFunction="addDollarSign"/>
</mx:verticalAxis>
<mx:series>
<mx:ColumnSeries yField="{chartOption}"
showDataEffect="interpolate"
creationCompleteEffect="interpolate"/>
</mx:series>
</mx:ColumnChart> -
Do you know -- any Free Class to create bar & line charts ??
I want to find a free java class that can help me to create bar charts & line charts, can you tell me??
thanks!google is your friend
http://java-source.net/open-source/charting-and-reporting -
Anychart bar charts generated for each row of a report
I am looking for ideas on, or existing examples of how the above requirement could be implemented in Apex 3.2.1.
My initial thoughts are to:
- use a pipeline table function as the report region source
- generate the JavaScript for creating bar charts with one series of 48 points, as a column returned by the table function.
The source data will be unlikely to be more than 15-20 records pulled from a well indexed underlying record set of several million records.
My worry is that this may not be a particularly responsive solution and I would like to know if anyone can validate or improve on my approach?
Cheers
FunkyMonkeyYou would need to define a separate column to hold the required output for each possible parameter value in the first column.
Each column would need to be conditional, where the condition is based upon the value in the first column, which you can reference using #column_name# syntax.
Try that...
CS -
I am tasked by my PHB to produce a horizontally-stacked bar chart, the horizontal axis is for simple numbers of events, the bars are types of events. It should also have a negative 'reflection' (see drawing below) There is no Z axis. I have successfully generated this as a vertical stacked bar chart (very simple) and I think a simple rotate 90 degrees right would do it, but I can't find one.
It should look like this, ignoring the dashes:
######## ######## Event 1, Value 8
----###### ###### Event 2, Value 6, etc
Any ideas or workarounds welcome!
Keith Templeman
EDIT Post to refer to a horizontal cluster bar chart which is what I really want
Edited by: mansfields on Dec 3, 2008 2:44 PMThe horizontal equivalent of the vertical stacked bar would be a horizontal stacked bar, which is there on the menu for me to see. As said in my previous post 'what I am after is the horizontal equivalent of the vertical cluster bar'
To repeat what my requirement is, I have a group of sales people who have five measures each against them, and I can already graph them thus:
6 5 4 3 3
but I want to graph them this way, like 90 degrees rotated to the right:
6 ######
5 #####
4 ####
3 ###
3 ###
I think this would be called a horizontal cluster chart, and there is no option on the list that is called that.
Hope this makes it clearer, and thank you very much for your time and effort so far.
keith
EDIT
From the online books section - "you can only display clustered bar charts in vertical format". That sorts that out then.
Edited by: user10677133 on Dec 3, 2008 5:16 PM -
How to create a double Y axis bar chart
I have a table with 3 columns, how to create a double Y axis bar chart with title and scale of one Y axis on one side and the other title on the other side, left and right side of the chart.
Dec 13 107.9
Jan 9 106.5
Feb 11 96.1
Mar 15 111.5
Apr 13 106.3
May 13 101.1
Jun 14 100.2
July 18 100.8
Aug 15 103.4
Sep 16 108.8
Thanks a lot!
Stanley TamStart with chart that looks like a column + line chart with a left & right Y axis. It should be the one on the bottom left. After plotting your two series, go to the chart inspector, series tab, and change the second series from line to column. Go to the Axis tab and choose to show the titles for the Y1 and Y2 axes.
-
Stacked bar chart x axis crunching up
Post Author: Pranab
CA Forum: Xcelsius and Live Office
I have purchased Crystal Xcelsius Workgroup 4.5. I have created a dashboard in which I have used webservices call to get data from database.
One of the three charts of my dashboard is a stacked bar chart. Now my problem is, when the webservice gets data and refresh the chart, the x-axis of it becomes squeezed and the main chart becomes very small. It becomes so in runtime. However in design mode i didnt notice such behavior.
But same flash file s showing fine when I am using it somewhere else.
I am facing big trouble, as I tried to search in web about this problem, but couldnt find such case.Post Author: amr_foci
CA Forum: Xcelsius and Live Office
my friend,, its a bug,
(this happens when you make "ignore end blanks" for the chart)
i was mailing the business objects crystal xcelsius support team about that bug and they told me that its a bug and it may take months to be fixed,, we are waiting... -
How to create "time sheet" bar chart?
Hi Experts,
I am using Crystal Reports 2008 and I would like to ask the steps to create a time sheet liked bar chart with following information:
Imagine I collected the CPU usage of a computer every 30 seconds.
In the report layout, X-axis should be the time of date. Such as 00:00, 06:00, 12:00 and 18:00. Y-axis should be the exact date. Such as 2009/05/01 to 2009/05/31. Highlight color should be applied to identify the usage. Such as <30% is gray, 30~70% is blue and >70% is red.
Here is my target layout: [timesheet|http://img200.imageshack.us/img200/1292/timesheet.png]
I tried to use bar chart template but crystal report sum up the total duration, not the exact time. When using Gantt chart, it almost fulfilled my requirement. But the bars of same date is not aligned horizontal, just like stairs.
Thanks a lot for help!
Regards,
Albert LaiThank you for reply!
I tried "horizontal stacked bar chart" but it still have problem...
Let's see my screen dumps: [Chart Expert - Data|http://img514.imageshack.us/img514/6595/timesheet2.png], [Chart Expert - Highlight|http://img411.imageshack.us/img411/1924/timesheet3.png], [Result|http://img269.imageshack.us/img269/8195/timesheet4.png]
Is that no one will use Crystal Reports like my sample?
Regards,
Albert Lai
Edited by: Albert Lai on Jun 4, 2009 3:24 PM -
Display ISO week number instead of date on x axis in Bar Chart
Hi,
I've created a simple SSRS report based on bar chart that shows several milestones. Everything works fine for me except I’m not able to convert the date into ISO week number format.
I played around with different approaches. I was able to convert the date into an ISO week Format directly on the SQL Server. That
wasn't a problem.
But unfortunately I’m not able to display the week number on the horizontal axis in my Bar Chart. I tried both fields: TaskFinishDate and TaskFinishDateMS...
I would like to show the ISO week number instead of the date within the Bar Chart on the horizontal axis.
Any ideas/hints/help is really appreciated!
Thanks,
MikeHi Mike,
Per my understanding that you want to get the week number of the year based on the field "TaskFinishDate" which is datetime type and display the week number in the x-axis instead of the field "TaskFinishDate", right?
I have check the snapshot you have provided and it seems you have change the format of the datetime field in the x-axis like "dd.MM.YYYY", If you can't make the week number to display correctly in the x-axis, the issue can be caused by you haven't
change the format to Number in the category.
Details information below for you reference:
I assume you have use expression in the Label like below to convert the datatime TaskFinishDate in to ISO week number like below:
=DatePart(DateInterval.WeekOfYear,Fields!TaskFinishDate.Value)
or
=DatePart("ww",Fields!TaskFinishDate.Value)
Right click the X-axis and select the "Horizontal Axis Properties", then click the Number to change the format to "Number" as below:
Preview you will get the weeknumber display in the x-axis correctly.
If you still have any problem, please feel to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
Break for Horizontal Axis Labels in OBIEE 11g Bar Chart
Hi all,
I have a vertical bar chart created in OBIEE 11g. The horizontal axis (x-axis) is a compound of Scenario, Year, and Month. The chart width is already long enough so it cannot be made any longer.
The chart looks like this (the label of horizontal axis is staggered):
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
Actual Feb 2012____________Actual Apr 2012
___________Actual Mar 2012_____________Actual May 2012
How can I force the labels for the horizontal axis to be broken into 2 lines (or even 3 lines), so that it will look like this:
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___Actual________Actual________Actual________Actual
__Feb 2012_____Mar 2012_____Apr 2012______May 2012
Any advice? Thanks a lot!Hi Stewart,
I could not try this yet, but how about 'Enabling the Contains HTML Markup' for the columns for Heading and including a '</br>' tag at the end of the name.
Ex: Column - >Properties -> column Format -> Column Heading -> Enable Contains HTML Markup -> Column Heading's suffix =less than symbol /br greater than symbol (Oracle forums is even break the line too!! ;) So included the text)
Hope this helps.
Thank you,
Dhar
Edited by: Dhar on 15-May-2012 20:11
Edited by: Dhar on 15-May-2012 20:12 -
How to create stack bar chart on answers that shows % and counts?
Hello guys
I currently have a table that have several columns, each column represent one product name, and one column name "units" indicating how each product is sold...
The requirement is to create a chart view with stack bar that shows the percentage of each product''s unit sales.
Now we are discussing whether we should customize the table to consolidate all these product columns into one "product desc" column with all the product names as row in order to fulfill this requirement..
PLease let me know whether this is needed or not... ALso, how would I be able to create stack bar charts that shows the total sales against each product sales in percentage and counts?
Please let me know, I really appreciate itI tried to do this and was a bit successful. I used the paint catalog. Created a a request with 6 columns assuming units and dollars be stacked and Year ago units to be a line:
Brand Units Dollars 0 Year_Ago_units 1
Added a new request (Combined with similar request and selected paint subject area): Now in this request my columns are:
Brand 0 0 Year_Ago_Dollars Year_Ago_units 2
Assuming Year_Ago_Dollars be standard in your case.
Created a chart view with brand and 1 on x axis and Units, Dollars, Year_Ago_Dollars on y axis and line as Year_Ago_units.
Now able to see what I am expecting. May be you need to tweak a bit more according to your requirement.
Let me know if this is of any help!
Thanks.
Edited by: Venkata on Sep 30, 2010 12:11 PM
Maybe you are looking for
-
Is there a way to downgrade to iOS 6.1.3.?
Good evening! Yesterday I made the worst choice of my life: I updated my Phone 4S to iOS 7 and I'm having lots of problems. My problems with this version is that its graphics are too white and they are making me literally sick! I'm having headaches,
-
Upload of pdf file from windows server in to DMS content server
dear all, kindly help me out in uploading the pdf file in DMS content server from windows server. let me know the steps how to complete this task. its a little bit urgent. thanks in Anticipation vikram & kiran
-
hi all, as per our business scenerio, here we want to calculate VAT including Frieght amount. sample calculation: Basic 200.00 ED 32.00 Cess 0.96 232.96 Frt 5.00 237.96 Vat 9.52 Gross Amt 247.48 how we
-
2.1 EA1 - Compile buttons
Why the two Compile and Compile for debug buttons are now hidden in a drop-down selection? And why if I click directly on that object the default behavior is Compile for debug (at least that's what I infer judging by the icon that is shown on the pac
-
Hi, Please forgive me...these may be novice questions, but...I am preparing a new web page for myself in Dreamweaver MX, and want to incorporate a Flash animation I made in Flash MX. The Flash animation contains a button with a link to a web site. Th