Line graph, How do graph month only on Horizontal axis?
I'm trying to graph year trends by month on the horizontal axis. However, it keeps breaking up the months by adding the year, so I have three separate line trends. How do I fix this?
Hi,
You should move to the production version of JDeveloper 11g that was just released:
http://www.oracle.com/technology/products/jdev/index.html
However I have a answers for your questions:
1. Setting time tick labels to hours: This should work by setting continuousTimeAxisInterval="CTAI_HOUR" on the advanced graph tag.
Here's the tagdoc for that attribute.
continuousTimeAxisInterval
Specifies the interval along a continuous time axis only if you want to override the value that the graph calculates automatically. Valid values are as follows:
* CTAI_AUTOMATIC - (Default) Graph calculates the interval automatically.
* CTAI_YEAR - Sets the interval to years.
* CTAI_MONTH - Sets the interval to months.
* CTAI_DAY - Sets the interval to days.
* CTAI_HOUR - Sets the interval to hours.
* CTAI_MINUTE - Sets the interval to minutes.
* CTAI_SECOND - Sets the interval to seconds.
2. Vertical gridlines can be set by using the o1Axis tag and setting the tickStyle. This should change all o1Axis ticks to gridlines. For different lineStyles, you can also use the lineStyle attribute.
<dvt:graph>
<dvt:o1MajorTick tickStyle="GS_GRID"/>
</dvt:graph>
Hope this helps
Katia
Similar Messages
-
Hello
Is there a way I can restrict the total number of ticks on horizontal axis only? Say I want to set it to show only 24 ticks on horizontal axis. I am putting date and hour on the horizontal axis, if I take 3 dates of data, I will have 3X24 = 72 ticks on the chart, but I want the chart to show only 24 ticks. So it's pretty much ticks for 3 hours on the horizontal chart in this case.
Can this be done?
Second, if the first can be done, then can I then zoom in to any ticks on the horizontal axis, and it would show be the break down of this ticks, which is made up with 3 hour's performance separately?
ThanksThe zooming feature was ok, but what if I want to zoom in on just a specific area between the ticks when only 1 click?
Any thoughts? -
How to display no. of seconds in HH:MM:SS format on Y-Axis in Line Graph
Hi All,
I have two columns as No. of Seconds and Date.
I want to create a Line Graph with Date on Horizontal Axis (X - Axis) and, on Vertical Axis (Y - Axis) I want to represent the No. of Seconds as HH:MM:SS format.
For example, If the DB returns No. of Seconds as 93, I want to get it on Vertical Axis as 00:01:33 (00 hours, 01 Minute, 33 seconds), If it is 145 seconds , I want to get it as 00:02:25....etc.
Can anyone please help me on this ?Srini VEERAVALLI I already used this code and I'm getting HH:MM:SS format in Table View, but my requirement is I need to represent the HH:MM:SS format on Vertical Axis in Graph View. In Graph View by default it's considering No. of Seconds only.....
Srini VEERAVALLI, is your full name is Srinivas Veeravalli ? -
Issue with Date Format in line Graph X-AXIS
Hi all,
I have a line graph, with data in x-axis and integer values in y-axis.
I am fetching data in Mon-dd-yyyy format but in graph (x-axis) it showing in yyyy-mm-dd format.
How to change this format.
Regards,
Krishna PrasadHi,
Basically you are trying to convert a date into date which is not advisable. Hence convert it to char and then equate it against a character value. Also do not use trunc as it will trim out the time part of the date.
select * from test
where to_char(dob,'RRRR/MM/DD HH24:MI:SS')=:p1Then pass the parameter
cheers
VT
Edited by: VT on Oct 26, 2010 4:16 PM -
Hi,
I have a query like this below which will return 25 rows when i run this in a SQL work shop when i execute this in Line graph it only shows data for 15 rows remaining 10 rows are missing please suggest me what would be the mistake
Here no dates are repeated. i see lines only for 15 rows remaining 10 are missing this is happening if the data is 15 rows the limit for line graph or some changes can be made.
SELECT
null,
TP.WEEK_ENDING_DATE "Week Ending Date",
SUM(TCL.NUM_HOURS_DAY1+TCL.NUM_HOURS_DAY2+TCL.NUM_HOURS_DAY3+TCL.NUM_HOURS_DAY4+TCL.NUM_HOURS_DAY5+TCL.NUM_HOURS_DAY6+TCL.NUM_HOURS_DAY7) "Total Actual"
FROM
timecard_lines tcl,
project_objects pobj,
tasks tas,
projects pro,
timecard_headers thr,
employees epl,
TIMECARD_PERIODS TP
WHERE
PRO.ID = :P67_PROJECTS AND
TP.ID = THR.TPD_ID AND
tcl.pobj_id = pobj.id AND
tcl.tas_id = tas.id AND
pro.id = pobj.pro_id AND
thr.id = tcl.thr_id AND
thr.emp_id = epl.id AND
pobj.id = tcl.pobj_id
AND
pro.id in
(SELECT pro.id
FROM projects pro, employee_project_pairs
epp, project_employee_roles per ,employees empl
WHERE empl.id = epp.emp_id
AND pro.id = epp.pro_id
AND epp.project_role_id = per.id )
GROUP BY pro.project_name,TP.WEEK_ENDING_DATE
order by TP.WEEK_ENDING_DATE asc
Thanks
SudhirHi,
You can't adjust the chart dimensions dynamically without constructing the whole thing dynamically. You can set "Use Custom XML" to Yes and then change the Height and Width settings of the chart_area tag. Labels can be rotated by setting "Labels Rotation" in the Display Settings section of the Chart Attributes to either 90 or 270.
Andy -
Hi, i need help in plotting a simple line graph showing the x&y axis and has to plot 3 different lines in the same graph.I have written a program and i need to implement this graph in it.Is there any tutorial for plotting line graphs,i mean steps included.
Please help!You describe your need, but not where it originates from.
Is it a programming assignment? If so, I hope this is not your chosen major, as you will fail because you are a non-resourceful plagarist.
Do you need to simply graph some data? Use an existing package. There are free ones somewhere.
What do you mean "i have written a program and i need to implement this graph in it"? If you wrote the program, wouldn't you be done?
Enjoy programming -
My two line graphs covers six months, but only shows three months How can I make it show all six months
select the chart, then open the Chart Formatter:
Then click "Axis", then "Category (X)"
Change the "Label Angle" to "Left Vertical" or "Right Vertical" -
How do I change the line color in a line graph?
I used Illustrator to create a line graph. (Not my desired option as I normally import them from R and then edit, but the textbook wanted to show that you can create graphs and edit them in Illustrator)
Anyway, I did all of the editing except that I can't change the color of the line. My assignment requires me to match the textbook example and the textbook does not provide instructions on how to do it. I've done just about any method I can think of and the line still stays light gray. I'm almost willing to just give up and lose the points but something as simple as color can't be this hard, right? Right?Whenever I try to shift+direct select it thinks I want to move the line, so as I shift + direct select and drag my mouse across the line (to highlight it all) it moves a chunk of the line and turns it into a near perpendicular line.
I found the appearance window, it just says "Path" (the color I want it to be that it's not)
"Stroke" 4pt
"Fill" (the color I want it to be that it's not)
"Opacity": Default
And some other buttons. I think I'll try the help line tomorrow, I know I saw a customer service number somewhere and I'm only here because the chat was unavailable. This is only one of my 3 problems with my assignment so I'll search here for answers to the other two. Learning new things is rarely fun. -
How do i create a line graph and scatterplots graph in numbers?
hi fellow mac users, i am taking a biology class and i have to create a graph, the only problem is i dont know where to begin. I would love your advice and ideas on how to do so.THE OTHER TYPES OF GRAPHS THAT I HAVE TO MAKE IS A LINE GRAPH SCATTER PLOT BAR GRAPH AND A PIE CHART. if yall could help me that would be great. (a list of steps will help me alot)
HI izzie,
As well as the link in Wayne's post, you can get the Numbers '09 User Guide through the Help menu in Numbers.
Besides Chapter 7, which deals with your current question, I would strongly suggest reading at least the first four chapters of the guide for a good grounding in the basics of using Numbers.
Regards,
Barry -
How to change marker size in line graphs
Hello,
I'm using line graph and i show markers for the user know where to see a tooltip. I observed that the line markers are very big and clutter my graph when points are very close one anothers. I would like to make them smaller, but I don't know how to do it.
Any help is appreciated.
Thanks,
Plan.
<dvt:lineGraph ...>
<dvt:seriesSet markerDisplayed="true">
</dvt:seriesSet>
</dvt:lineGraph>>System Preference>General
this will change text size and associated icon size. -
How to change legend name in Web-I line graph
Hi,
Please help me on this. My Web-I line graph displays the legend same with the universe measure name that I have used. Is there a way to rename the legend.
Thank you in advance.
RoseHi Rosemarie,
There is no functionality of editing the legend text of a graph in a Webintelligence report
Enhancement Request ADAPT00787806 has been created.
If you are more concerned about the Legend title and not the Measure name then you can store the measure values in Measure Variable and give the variable name you want your legend title should be.
Only take dimensions and newly created variable on the report where variable will act as measure.
I Hope this Helpsu2026
Thanksu2026
Pratik -
How do you switch the x and y axis in a line graph?
I am fairly new with this program and I need to make a line graph for a science lab report. For the lab, we needed to use a certain amount of water, which was 20 ml, 40 ml, 60 ml, then 80 ml, and we needed to measure the mass of different substances if they had the given values of the volume, and compare their mass and volume in a line graph.
Therefore, the graph that I need to create requires a constant 4 steps, which are always 20 ml, 40 ml, 60 ml, and 80 ml, for all of the four substances I used during the experiment. That needs to be on the y axis. I need to have the mass of the substances on the x axis, but no matter what I have tried I cannot seem to switch the x and y axis...how can I do that?Nevermind I figured it out
-
How to set the 4th Y axis color for a line graph
Hello experts,
I have developed a multiple y axis line graph using oracle reports 10g.
It has got 1 x axis and 4 axes. I am able to set the color of the the first three y axes
but the reports designer automatically assigns yellow color to the 4th axis.
I mean there is no option in the graph wizard for changing the 4th color)
How to change the color of this 4th y axis to a desired color?
Cheers
SriAssuming you mean that your graph has 4 series, not 4 Y axes, you might try something like this:
1. Save a backup copy of your current report in case the changes you are about to make don't work out and you want to revert to the backup copy.
2. Using the Property Inspector, display the current value of the Graph Settings property for your graph. The value of the property should be something like:
<rw:graph id...
</rw:graph>3. Look for a <SeriesItems> tag and a matching </SeriesItems> tag in the property value. If you don't find them, add the following two lines immediately before the </Graph> tag.
<SeriesItems>
</SeriesItems>4. Between the <SeriesItems> tag and the matching </SeriesItems> tag, add (or update) a <Series> tag for each series that you want to specify the color for. For example, to specify the color of the fourth series as red, you would use a <Series> tag like this:
<Series id="3" color="#ff0000"/>Note that the id numbers start at 0 for the first series, 1 for the second, and so on. The color value is a hexadecimal number specifying the RGB value of the color.
You can also use the <Series> tag to specify other features like the marker shape.
For more information on what you can do using the Graph Settings property, see this FAQ and Technical Note.
Hope this helps. -
How to Draw a line Graph using x,y Cordinates in Java ?
Hi,
what r the easiest way to draw a line Graph using Java Code either applet.
can u give me code sample. or any package where we can pass some parameter so that accoring to the paramter as i know jfreeChart.function() like some method is there from toold jChart.
Is it possible.
Regards,
PrabhatThere's a number of sample applications in one of the packages of freechart, one of which should do the trick.
If you're doing applets I suggest you look at genjar from the sourceforge site. What that does is bundle classes from a set of library jars into one jar, selecting only classes that are referenced. That should simplify the transfer problem.
To draw graphs, typically, you create a DefaultXYDataset object, add data points and then use the appropriate ChartFactory.createXXX methods to build a chart object. Then you wrap that in a ChartPanel to display. -
I am using SSRS and I cannot access SQL server to answer my problem, so the solution needs to be done via SSRS only.
I am currently trying to graph some data. The problem is, the months on the X axis are aligned by calendar year. I need the first month to commence with July, with the last month on the axis to be June. This also means that the year series need to be changed
from calendar year to Australian financial year.
Screenshots are provided in the comments.Hi Northern,
Per my understanding that you want to show the month in the x axis as the order of the financial year(7,8,9,10...4,5,6) and also display the year in the series group as the financial year, right?
I have tested on my local environment and we can modify the query in the sql to get the financial year value based on the fields of Calendar year, details information below for your reference:
1. Modify the query as below:
SELECT
Calendar_Date,CASE WHEN MONTH(Calendar_Date)>=7 THEN
YEAR(Calendar_Date)+1
ELSE YEAR(Calendar_Date) END AS Financial_Year,
MONTH(Calendar_Date)as Financial_Month,
Billing_Amount
FROM TableName
order BY
Calendar_Date
2. Add the "Billing_Aomount" in the Value area, "Financial_Month" in the Category group area and "Financial_Year" in the Series group area.
3. Right click the "Financial_Month" under the Category group to select the "Category group properties",click the sorting and add below expression in the Sort by to specify the order for the month in the x-axis:
=switch(Fields!Financial_Month.Value="7",1,Fields!Financial_Month.Value="8",2,
Fields!Financial_Month.Value="9",3,Fields!Financial_Month.Value="10",4,
Fields!Financial_Month.Value="11",5,Fields!Financial_Month.Value="12",6,
Fields!Financial_Month.Value="1",7,Fields!Financial_Month.Value="2",8,
Fields!Financial_Month.Value="3",9,Fields!Financial_Month.Value="4",10,
Fields!Financial_Month.Value="5",11,Fields!Financial_Month.Value="6",12)
4. Preview you will get the sample chart display as below according to my sample data:
If you still have any problem, please feel free to ask.
Regards
Vicky Liu
Vicky Liu
TechNet Community Support
Maybe you are looking for
-
TRYING TO SEND AN EMAIL VIA JSP not working
I think what im doing is right but i keep getting errors...therefore...its wrong.. <form action="mailer.jsp" method="post"> To :<br> <input type="text" name="to" class="std"></input><br> From :<br> <input type="text" name="from" c
-
E-mail results as an attachement in excel format
Hello, I have printer MPDF using device type PDF1 and Host Spooll Access Method 'M' for sending e-mails from our SAP 7.0. We are getting e-mails with file attachments in PDF format from a number of our background jobs set to print to printer MPDF. I
-
RE: G3 iBook transfer via firewire to MBP...questions
hello everyone, forgive me if this is the wrong section...but can someone help me with this... i have transfered all my necessary files from my iBook to my MBP (via firewire)but now i can not get my old entrouge to over ride/replace the one on my MBP
-
i'm just new in visual web. would i ask for the code to create a pop up in visual web.. i tried using jOptionPane but it would not work..
-
Can my Airport Express be used to extend the signal for an iPad2
I am using a Linksys wired router as the beginning of my home network. There is an ethernet cable running from it through a wall to the Xbox 360 and an Airport Express serving as the base for the wireless network. I have an iBook on the other side of