Line Graph X-axis Value
Hi ,
I Created line graph in ADF X axis - date , Y axis Amount and Currency Mixed Frequency Line graph
For ex : X - axis dates are 01-jan-2011 to 10-jan-2011
y - axis are amount and currency
when i click particular currency line (on 05-jan-2011) how i will get the x axis value 05-jan-2011
Thanks
Shk
Check the range against which line is plotted, you may have to reduce that range to see accurate values.
Similar Messages
-
ADF11g: dvt, line graph x-axis (o1 axis) display issue
Hi,
In our application we are generating line graphs for a set of data.
This graph is plotted in between 2 sets of numeric values. (one plotted on x-axis and other on y-axis).
For better accuracy of plotted graph we are using these numeric values upto 7 decimal places. (for example 8.1234567)
Now when graph is plotted, then on x-axis (that is o1- axis in case of Line Graph) the tick labels are showing upto 7 decimal places.
Is there any way so that I could control the display of these tick labels to 1 decimal place instead of 7 decimal places?
More Info:
++The tick labels for x and y axis are generated at runtime by some calculation logic.++
++If we set the tick labels for x axis to 1 decimal place instead of 7 decimal places when they are generated , then this will lead to build in accurate graphs.++
++So we can't control the decimal format of tick labels when they are generated. We need to control it when they are displayed.++
Please help...
Thanks and Regards
Manav RatraHi Frank,
this is not working :( . It holds good for the case where one has to display markers (tick labels) on the lines of line graph and not the tick labels on the axis.
Moreover here i find out tag as *<dvt:x1Format>*
where as line graphs does not support x1axis they have o1axis .
In my case I need to control display of tick labels on the o1axis.
Regards
Manav Ratra -
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 -
Creating multiple Line Graph having common values..
Hi...
I've created one application process for creating Multiple Line Graph.
And i've integreted two tables in this graph, where values may be common for both the tables. In this case, for common values, instead of getting overlapped I'm getting scattered graph(its totally abnormal). Please help me if you 've any idea about this issue.....?
Please go through the App Process and the output of the SQL query.
In output of the query, in the NAME column "Feb-2010" is common.
This is the SQL query OUTPUT:_
TABLE 1
NAME VALUE
Sept-2009 100
Oct-2009 95
Nov-2009 98
Feb-2010 97
TABLE 2
NAME VALUE
Jan-2010 93
Feb-2010 100
Mar-2010 98
Application Process :_
DECLARE
BEGIN
OWA_UTIL.mime_header ('text/xml', FALSE);
OWA_UTIL.http_header_close;
HTP.p ('<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>');
HTP.p ('<anychart>');
HTP.p ('<settings>');
HTP.p ('<animation enabled="True"/>');
HTP.p ('</settings>');
HTP.p ('<charts>');
HTP.p ('<chart plot_type="CategorizedVertical">');
HTP.p ('<data_plot_settings default_series_type="Line">');
HTP.p ('<line_series>');
HTP.p ('<marker_settings>');
HTP.p ('<marker type="None" />');
HTP.p ('<states>');
HTP.p ('<hover>');
HTP.p ('<marker type="Diamond" />');
HTP.p ('</hover>');
HTP.p ('</states>');
HTP.p ('</marker_settings>');
HTP.p ('<tooltip_settings enabled="True">');
HTP.p ('<format>Year {%Name}{enabled:false} {%SeriesName} - {%Value}{numDecimals:0}%</format>');
HTP.p ('</tooltip_settings>');
HTP.p ('<effects enabled="True">');
HTP.p ('<drop_shadow enabled="False" />');
HTP.p ('<bevel enabled="true" distance="1" blur_x="2" blur_y="2" />');
HTP.p ('</effects>');
HTP.p ('<line_style>');
HTP.p ('<line thickness="3" /> ');
HTP.p ('</line_style>');
HTP.p ('</line_series>');
HTP.p ('</data_plot_settings>');
HTP.p ('<chart_settings>');
HTP.p ('<title enabled="true">');
HTP.p ('<text>Avg. %App. Uptime per month </text>');
HTP.p ('</title>');
HTP.p ('<axes>');
HTP.p ('<y_axis>');
HTP.p ('<title>');
HTP.p ('<text>Value</text> ');
HTP.p ('</title>');
HTP.p ('<scale minimum="90" maximum="101" major_interval="1" />');
HTP.p ('<labels>');
HTP.p ('<format>${%Value}{numDecimals:0}</format>');
HTP.p ('</labels>');
HTP.p ('<axis_markers>');
HTP.p ('</axis_markers>');
HTP.p ('</y_axis>');
HTP.p ('<x_axis tickmarks_placement="Center">');
HTP.p ('<title enabled="False" /> ');
HTP.p ('</x_axis>');
HTP.p (' </axes>');
HTP.p ('</chart_settings>');
HTP.p ('<data>');
FOR ObjRecord IN (select DISTINCT(K_OBJECT.OBJECT_ID) as OBJECT_ID,name from K_OBJECT, K_OBJ_TYPE_ASP_REL where K_OBJECT.OBJECT_ID=K_OBJ_TYPE_ASP_REL.OBJECT_ID and K_OBJ_TYPE_ASP_REL.OBJECT_TYPE_ID=1)
LOOP
HTP.p ('<series name="'|| ObjRecord.name ||'">');
FOR MonthlyValueRecord IN (select NAME,VALUE
from K_REPORT_RUN,K_ASPECT_VALUES,K_ASP_TIM_RPT_REL
where K_REPORT_RUN.RUN_ID=K_ASP_TIM_RPT_REL.RUN_ID
and
K_ASPECT_VALUES.ASPECT_VALUE_ID=K_ASP_TIM_RPT_REL.ASPECT_VALUE_ID
and
K_ASP_TIM_RPT_REL.ASPECT_ID=1
and
K_ASP_TIM_RPT_REL.OBJECT_ID=ObjRecord.OBJECT_ID
order by K_REPORT_RUN.STARTTIME)
LOOP
HTP.p ('<point name="'|| MonthlyValueRecord.name ||'" y="'|| MonthlyValueRecord.value ||'" />');
END LOOP;
HTP.p ('</series>');
END LOOP;
HTP.p ('</data>');
HTP.p ('</chart>');
HTP.p ('</charts>');
HTP.p ('</anychart>');
htmldb_application.g_unrecoverable_error := true;
END;
Edited by: user12873839 on Apr 9, 2010 3:58 AM
Edited by: user12873839 on Apr 9, 2010 4:02 AM
Edited by: user12873839 on Apr 9, 2010 8:00 AM>
Help Needed Urgent.....
>
That is one surefire way to not get any help and certainly not urgently. I suggest that you amend the title of your post to something that reflects the actual issue. This will also help anyone with similar issues to find the thread.
When posting code please put {noformat}{noformat} (with the curly brackets and the word code in lower case) above and below it to preserve formatting like this...
{noformat}{noformat}
SELECT *
FROM emp
{noformat}{noformat}
This will be displayed on the forum like this...SELECT *
FROM emp
Cheers
Ben -
Producing a line graph of int values and saving as an image
Hi,
I wonder if anyone could help me with this. I have 2 arrays of integer values that I would like to plot as a line graph (e.g. X[ ] and Y [ ]) and then have this line graph saved as an image (the format isn't too important but PNG would be preferred).
Could somone point me in the right direction of an easy way to do this?
Thanks,
PeteHave a look at the following classes :
java.awt.Graphics (drawLine method)
java.awt.Image
java.awt.BufferedImage
javax.imageio.ImageIO (jdk 1.4+) -
Line Graph x axis tick label date format
Hi to all,
how can i format the date of the x axis label of a line graph?
by now the date label is shown with a timestamp, e.g. 01.12.11 00:00.
How can i change this to a simple date like 01.12.11?
Please help. Thank you.
Best regards
GunnarI would think that the datatype of the date attribute is a TimeStamp ? If yes changing it should help ..
-
Line graph with single values as dots
Dear Apex experts,
I have the requirement to create a graph in Apex which displays technical values as dots or candles and limit values and average values as lines in one graph.
Is there a way to create two types of graphs in one image ?
Best regards,
DanielHi,
as far as I know, you can't have interruptes series in the DVT line graph
Frank -
Hi,
This maybe a most basic and easy to answer problem - We have just started to implement xMII on-site and our problem is:
We are trying to create a line grid which will compare two sets of data against each other, basically a Value versus a batch number, we have managed to this on one set of data coming form Oracle without any problems but on the second set coming from PI via a ODBC call this doesn't seem possible. At this stage we have tried every possible data column, label attribute etc. combination based on the supplied documentation. XY graph it is possible but the line between data points is required. I am wondering is the Oracle timestamp ignored as it isn't imported with the data - based on an export of the data from the Graph - where as the PI timestamp is, could this have anything to do with ? The timestamp is not required on the x Axis just the batch Number, timestamps are not important on this data as it is a batch on batch comparison and timestamps are irrelevant.
Thanks in advance,
EmmettSam,
Interesting, unaware this was possible from here, xml output below
<?xml version="1.0" encoding="UTF-8" ?>
- <Rowsets DateCreated="2007-07-18T16:00:19" EndDate="2007-07-18T16:00:09" StartDate="2007-07-18T15:00:09" Version="11.5.2">
- <Rowset>
- <Columns>
<Column Description="UNIT" MaxRange="1" MinRange="0" Name="UNIT" SQLDataType="12" SourceColumn="UNIT" />
<Column Description="TIME" MaxRange="1" MinRange="0" Name="TIME" SQLDataType="93" SourceColumn="TIME" />
<Column Description="DURATION" MaxRange="1" MinRange="0" Name="DURATION" SQLDataType="7" SourceColumn="DURATION" />
</Columns>
- <Row>
<UNIT>064_Filtration Time Phase 12_Duration_DCrit</UNIT>
<TIME>2007-07-18T03:29:17</TIME>
<DURATION>837</DURATION>
</Row>
- <Row>
<UNIT>067_Filtration Time Phase 10_Duration_DCrit</UNIT>
<TIME>2007-07-18T12:29:18</TIME>
<DURATION>677</DURATION>
</Row>
- <Row>
<UNIT>079_Drying Phase 3_Duration_DCrit</UNIT>
<TIME>2007-07-18T02:29:38</TIME>
<DURATION>581</DURATION>
</Row>
- <Row>
<UNIT>083_Drying Phase 3_Duration_DCrit</UNIT>
<TIME>2007-07-17T18:00:11</TIME>
<DURATION>79</DURATION>
</Row>
- <Row>
<UNIT>083_Drying Phase 3_Duration_DCrit</UNIT>
<TIME>2007-07-17T18:39:13</TIME>
<DURATION>119</DURATION>
</Row>
</Rowset>
- <Rowset>
- <Columns>
<Column Description="Parameter" MaxRange="1" MinRange="0" Name="Parameter" SQLDataType="12" SourceColumn="Parameter" />
<Column Description="TIME" MaxRange="1" MinRange="0" Name="TIME" SQLDataType="93" SourceColumn="TIME" />
<Column Description="BATCHNO" MaxRange="1" MinRange="0" Name="BATCHNO" SQLDataType="7" SourceColumn="BATCHNO" />
</Columns>
- <Row>
<Parameter>064_Filtration Time Phase 12_BatchNo_DCrit</Parameter>
<TIME>2007-07-18T03:29:17</TIME>
<BATCHNO>206</BATCHNO>
</Row>
- <Row>
<Parameter>067_Filtration Time Phase 10_BatchNo_DCrit</Parameter>
<TIME>2007-07-18T12:29:18</TIME>
<BATCHNO>207</BATCHNO>
</Row>
- <Row>
<Parameter>079_Drying Phase 3_BatchNo_DCrit</Parameter>
<TIME>2007-07-18T02:29:38</TIME>
<BATCHNO>199</BATCHNO>
</Row>
- <Row>
<Parameter>083_Drying Phase 3_BatchNo_DCrit</Parameter>
<TIME>2007-07-17T18:00:11</TIME>
<BATCHNO>198</BATCHNO>
</Row>
- <Row>
<Parameter>083_Drying Phase 3_BatchNo_DCrit</Parameter>
<TIME>2007-07-17T18:39:13</TIME>
<BATCHNO>198</BATCHNO>
</Row>
</Rowset>
- <Rowset>
- <Columns>
<Column Description="UNIT" MaxRange="1" MinRange="0" Name="UNIT" SQLDataType="12" SourceColumn="UNIT" />
<Column Description="TIME" MaxRange="1" MinRange="0" Name="TIME" SQLDataType="12" SourceColumn="TIME" />
<Column Description="BATCHNO" MaxRange="1" MinRange="0" Name="BATCHNO" SQLDataType="12" SourceColumn="BATCHNO" />
<Column Description="DURATION" MaxRange="1" MinRange="0" Name="DURATION" SQLDataType="12" SourceColumn="DURATION" />
</Columns>
- <Row>
<UNIT>enantiomer - warning CGP49309 HPLC</UNIT>
<TIME>20070717094846</TIME>
<BATCHNO>801071R0197</BATCHNO>
<DURATION>0.11 %w/w</DURATION>
</Row>
- <Row>
<UNIT>enantiomer CGP49309 HPLC</UNIT>
<TIME>20070717094846</TIME>
<BATCHNO>801071R0197</BATCHNO>
<DURATION>0.1 %w/w</DURATION>
</Row>
- <Row>
<UNIT>identity Nujol IR</UNIT>
<TIME>20070717094846</TIME>
<BATCHNO>801071R0197</BATCHNO>
<DURATION>corresponds to the reference</DURATION>
</Row>
- <Row>
<UNIT>process train</UNIT>
<TIME>20070717094846</TIME>
<BATCHNO>801071R0197</BATCHNO>
<DURATION>083</DURATION>
</Row>
- <Row>
<UNIT>retention sample</UNIT>
<TIME>20070717094846</TIME>
<BATCHNO>801071R0197</BATCHNO>
<DURATION>Yes</DURATION>
</Row>
</Rowset>
</Rowsets>
Thanks,
Emmett -
Date format in a Line graph X axis - OBIEE 10g
Hi,
My data comes in as mm/dd/yyyy format, so my line chart has Amounts in thousands in Y axis and X axis has the date as 5/1/2010, 6/1/2010, 7/1/2010, 8/1/2010 ...... But I want the X axis to display like May 2010, June 2010, July 2010, August 2010 .... How can I do this? Thanks for your time and help.Hi,
Replace the column formula of your date column as ,
cast(MONTHNAME(YourDateColumn) as varchar(10))||' '||cast(YEAR(YourDateColumn) as varchar(10))
Rgds,
Dpka -
Hi ,
i'm looking for some algorithm that returns nice ticks on a xasix
rounded on 10
fe
i have values
16
67
87
92
i want to get all the values
0-10-20....100
so rounded at 10 or 5
greetings SvenHere is the method:
public static int compute(int argument, int d)
return argument%d == 0 ? argument : (argument/d + 1)*d;
Now, you can call the method for 10:
int k = compute(123, 10);
Armen -
Customize X Axis range in Stacked Line Graph
I have built a stacked line graph. The values on x-axis range from 0 to 5,00,000. Howvever when the graph is displayed the maximum range that is shows is around 90,000-1,00,000. Is there a way to select specific values for X-Axis.
Thanks,
MitikshaMike,
It works fine here. Does your current date display properly in the Table where the =NOW() formula is?
Have you tried stretching out your table to make more room for labels?
Jerry -
Hi All,
I have an xml datasource with many items. For example:
<?xml version="1.0" encoding="ISO-8859-1"?>
<USRPRES_REPORT>
<TABLE id="0">
<VALUE>0</VALUE>
</TABLE>
<TABLE id="1">
<VALUE>3</VALUE>
</TABLE>
<TABLE id="2">
<VALUE>1</VALUE>
</TABLE>
</USRPRES_REPORT>
I would like to create a basic line graph from these values. The values can be 0-5, so the y axis can be the 0-5 and the x axis shows the actually value from the source. How can i create a graph like this? (as i see the CR alway wants to summarize, and it is my problem)
Thanks for all!!!
Imre KovacsThis looks to be more of a Crystal Report design issue so please post to the Crystal Reports Design forum at:
SAP Crystal Reports
Ludek -
Hi,
I Created line graph
x axis date
y axis amount
The date format is not showing correctly
For Ex : date range : 01-Jan-2011 to 10-jan-2011
in graph x - axis firsi date is showing 01-Jan-2011 and remaining dtaes are showing only days like 02 03 04
how i will get like these 01-Jan-2011 02-jan-2011 03-jan-2011 ......10-jan-2011
Please help
shkHi,
Replace the column formula of your date column as ,
cast(MONTHNAME(YourDateColumn) as varchar(10))||' '||cast(YEAR(YourDateColumn) as varchar(10))
Rgds,
Dpka -
Plot values in X-Axis in 2D line graph
Hi,
I am using 2D line graph to plot graph but the graph is to be ploted based on date i.e i have a range to be ploted in X-Axis i.e Dates how to plot that please suggest now the values are automatically it is getting ploted
This is query wht i am using
SELECT
pobj.name "Object Name",
tas.name "Task Name",
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) ) "Effort"
FROM
timecard_lines tcl,
project_objects pobj,
tasks tas,
projects pro,
timecard_headers thr,
employees epl,
object_task_estimate ote,
TIMECARD_PERIODS TP
WHERE
pro.id = :P61_PROJECTS and
tas.id = :P61_TASKS 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
ote.tas_id = tas.id AND
pobj.id = tcl.pobj_id
and
ote.pobj_id = 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,pobj.name,tas.name
order by pobj.nameStandard syntax on the Mac is Object, Action. The order is always Select an object (in this case, part of a spreadsheet), then perform an action on or with tat object (in this case, make a chart).
The same syntax applies to Copy or Cut (and to Paste, althyough it's not as obvious there—the object is whatever is currently on the Clipboard).
I don't think there is information on printing charts/graphs in the online help. A chart is a graphics object, and is printed as part of the document that contains it. Printing the spreadsheet should also print the chart, provided it is on a page that contains data (AppleWorks's default is to print only the rows and columns that contain data). If you want to print the chart without any of the data, drag the chart over the data to conceal it, and choose the Print options that do not show column or row headers and the cell grid. (These are probably in the AppleWorks options in your Print dialogue, but their position will depend on your print driver.)
Placing the object (the chart) in another document provides an easier method of printing only the chart, and the method you used (dragging the chart from the spreadsheet to the second document is a common and acceptable one. Dragging an object from one document to another places a copy of the object on the second document, and leaves the original on the original document. This is true in general, not just for charts.
In the case of a chart, the copy is a static object, while the original maintains its live connection to the underlying spreadsheet—changing a graphed value in the spreadsheet will change the graph to match the new value, but will not affect the copy in the second document.
Regards,
Barry -
Hide values to be displayed along Y-axis in line graph
Hi friends,
I need to generate a line graph using Oracle reports. But the values along y-axis should not be displayed. Can anyone help me how to hide displaying values along the y-axis
Thanks,
venkatVenkat,
I am not sure if it can be hidden. I will update this thread if I find something. But for now, what you can do is, create a Rectangle over the y-axis values. Change the background color of the rectangle same as graphs color, and line color as 'No Line'. It will hide the values.
Hope this helps.
Maybe you are looking for
-
Two profile two thunderbird at the same time with same user account
Dear, I would use two Thunderbird at the same time for two different profiles with the same user accounts. I using linux OS. I was thinking of using: # thunderbird -P profile1 & # thunderbird -P profile2 & But when launching the second command nothin
-
What program can I use to tell me my Macbook's current running temperature?
I have a laptop fan that I use pretty often, but I'd like to have something that I can use to make comparisons between the results produced by different cooling units.
-
Create a new repository and import metadata...
Hi all, I'm trying to initiate the exercise in link http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm I installed the OBIEE 11.1.1.5.0 and 11.1.1.6.0, created the ODBCs connections, but when I try t
-
"This email account is no longer accessible by your Blackberry device"?
Please help. I have a brand new Blackberry and got an email saying my email addy is no longer accesible by my Blackberry device, and said it's likely caused by a password change. I haven't changed any passwords. It's telling me to login to my BlackBe
-
Old old site still visible from certain wifi locations?!
Hi, I find this very weird. I created a website a while back using iWeb, and published it. I then re-vamped it as it didn't work properly, and published it to MobileMe but with a personal domain. This has worked great for a couple of years now, but I