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
Similar Messages
-
Data Point Symbol in Line Graph - can you change the size?
I would like to change the Data Point Symbols in line graphs - if not the actual symbol it would be wonderful to be able to change the size of the symbols provided.
At present, if there is a lot of data in the graph, the symbols are too big and crowd one another.
I know that one can reduce the line size but that doesn't change the symbol size.
Help please.If I understand your question, this from the Pages online help may give the answer:
To mark line, area, and scatter charts with data point symbols:
Select the entire chart. You can also select the chart series (the line or area shape) that you want to mark with data point symbols.
Click Inspector in the toolbar, and then click the Chart Inspector button.
Click Series (except for scatter charts).
Choose a symbol from the Data Point Symbol pop-up menu.
Choose one of the following options from the Symbol Fill pop-up menu:
To fill the symbol with the same color as its outline, choose Use Stroke Color.
To fill the symbol with a solid color, choose Color Fill, click the Fill color well, and pick a color.
To fill the symbol with a gradient, choose Gradient Fill and use the gradient controls to set the colors and change the angle of the gradient.
To fill the symbol with an image, choose Image Fill and select the image you want. You can also resize the image by choosing an option from the pop-up menu above the Choose button.
To fill the symbol with a tinted image, choose Tinted Image Fill and select the image you want. Click the color well to the right of the Choose button to change the tint color. You can also resize the image by choosing an option from the pop-up menu above the Choose button. -
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 -
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 ..
-
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 -
Combine output from two data sources for a line graph.
Hello Experts,
I need your help in following scenario.
Scenario - We have a line graph created in VC. We have a numeric field in the data seris and a date field in the Category axis.
This is working fine.
Requirement - Customer wants month names instead of dates on the category axis of the line graph.
Problem - The RFC which is providing the data to line graph doesnot have a output field giving month names instead it has dates.
Options Tried - Tried using 'Union' and 'Switch' operator with a RFC giving month names. Unfortunately this doesnot work.
One close try was with 'union' operator but it ignores the numeric fields.
Any help would be highly appreciated.
Thanks & Regards,
Amit KadeHello Sandeep,
Thank you for the reply. I did try to do changes in RFC, I am calling a FM which gives me month names in my original RFC.
But still the outpot of this FM is in a seperate table and anyways I will have to combine these two tables.
Problem still remains the same.
I tried using 'Filter' to convert date format but after applying filter my VC application is not deploying.
Thanks,
Amit Kade -
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
ShkCheck the range against which line is plotted, you may have to reduce that range to see accurate values.
-
Showing one data point on a line chart - X-axis label placed away from its actual position
Hi Guys,
In line chart, i used CircleItemRenderer to show single data point. It shows correctly if it is single data point. But the x-axis label placed away from its actual position. Right now it displayed left most position where the line chart starts. I need to move that label straight of that datapoint where it plotted. Please see the screen shot attached with this post.
In screen shot, x-axis label "Jan" displayed in left most position.
And how can we show the datatip for single datapoint. At present, we can't able to see the datatips also with single datapoint.
Can any body help me to fix those two issues.I figured out a way to customize a single datapoint in a line series. The solution is at this link:
http://www.flexdeveloper.eu/forums/flex-charting/customize-a-datapoint-in-a-line-series/ -
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 -
ADF DVT's time Axis Date Format
Hi, I've been working with DVT line graph and bar graph.
Was able to display details and apply time selector.
The details that can be displayed in the graph is dynamic, meaning the number of bars or columns that will be displayed in the graph can be smaller or bigger.
I just noticed that the Date Format that appears in the X-Axis is not consistent, sometimes is display the dates as day (01, 02, 03.. etc.) then month under it.
but sometimes the format is "mm/dd/yy". Is there a way to make the date format consistent?
Thanks.hi experts, any idea please...
-
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. -
Hi
Im having some problems formatting a 2D line graph. The data in the graph is based on a table of dates and corresponding percentages (three percentage colums and one date column). The information is formatted as a percentage in the table but is entered as decimals.
The graph shows up correctly with the exception of the format of the y, or percentage axis. This show up as a decimal. After trying to format it as a percentage in the drop down menu for the y axis, I can't access "percentage" in this menu. It is greyed out for some reason.
Any ideas, save for adding a new column and adjusting the data?ejm,
The percentage option that is grayed-out is reserved for the stacked bar chart, I believe. Numbers Charts do not have a formatting feature that converts ratio data to percent. You must do it yourself and then chart the result. I presume that you have a column now that contains ratio data that you have formatted as percent. If you create an auxiliary column that multiplies the original column by 100, you can chart the new column and hide the source data column.
Jerry -
Hello,
I'm trying to create a graph from the information seen in the table below. I need to plot on the X- Axis, the T0,T1,T2 values. There will be two data sets for the line graph, Subject A and Subject B, the value from which will be plotted on the Y-Axis. I've spent about an hour now, trying to order the values to create the graph I need.
Another way of saying this, is that I'm plotting the differences in Subject A versus Subject B over a period of Time (T0, T1, T2).
It should look something like this:
Help Please!
-KBHi KBaines,
Please don't worry about wasting anyone's time. Many users in this forum look upon Numbers problems as a challenge. If you solved your own problem, please post your solution to help others.
Regards,
Ian. -
Line Graph Problem when used with Series
I am facing a problem with Line Graph in Oracle Reports 10g.
I have made a graph having series of three curves.
The graph is perfect when all series have similar X-Axis values. See the link
http://www.sysautomation.com/ask/RPT_LINE_GRAPH_OK.PDF
But same graph does not print curves properly, gives spaces in the curves, when all the series do not have similar values on X-Axis
http://www.sysautomation.com/ask/RPT_LINE_GRAPH_NOT_OK.PDF
Pl. guide me what to do to make this graph working.Thanks for reply.
In my case, I have to plot curves.
and some Series have different X-axis values.
I have no choice, but to plot them.
The same thing was working fine with Reports 6i + Graphics 6i.
What is Scatter Plot?
Thanks again.
This is a limitation in the current line graph in
Reports 10g (9.0.4). I can't recall whether this has
improved in 10.1.2 or it was planned for the next
rev.
Would trying a scatter plot be better?
Line graphs are normally meant for regular intervals
on x-axis, so using the example of dates, Jan, Feb
and Dec would be placed right next to each other,
rather than scaled with the right distance between
Feb and Dec. -
Engage 2008: Line Graph, can't start 2nd series @ different X value
Using Xcelsius Engage 2008
Created line chart w/ 2 series
2nd series does not start at the same X value as series 1.
How do I generate the second series so the initial part of my 2nd series line does not show all 0s?
Thank you
Nancy GriffinHi Tammy.
I'm using Xcelsius version: 5.0.0.99 and Build number 12,0,0,121. I am not sure if S1 is already installed. If not, where can I get it?
This is what I'm trying to do:
1) created a basic line graph with two series
Series 1 Data has 2 columns
Series 1 Column 1 includes dates. THis will be the labels for the X axis:
1/1/07
1/6/07
1/12/07
1/1/08
1/6/08
Column 2 includes the line graph data for series 1
30
50
10
90
120, etc
Series 2 column 1 - THis is the same as series 1 since it includes the same labels for the X axis
Series 2 column 2 includes the data for the 2nd line graph
HERE's WHERE IT IS DIFFERENT
I have no data for dates 1/1, 1/6, 1/12/07. My data starts in
2008. I don't want the graph to show 0s for the first 3 dates and then jump up to the 2008 data. Is there a way to make the 2nd line chart start on 1/1/08?
thank you. Really appreciate your help.
Maybe you are looking for
-
After upgrading to 8.5, I'm getting the following error when trying to build an EXE: Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference: Error 1055 occurred at Invoke
-
Can I use an expression in order by clause
SELECT PERIOD_NUM, period_num *12, period_name, --TO_DATE(SUBSTR(PERIOD_NAME,1,3)| |SUBSTR(PERIOD_NAME,INSTR(PERIOD_NAME,'-'),3),'MON-RR'), TO_NUMBER(TO_CHAR(TO_DATE((SUBSTR(PERIOD_NAME,1,3)| |SUBSTR(PERIOD_NAME,INSTR(PERIOD_NAME,'-')+1,2)),'MONRR'),
-
Adding MacBook Pro to my wireless Epson NX510 Series Printer
Hey, guys, I got a MacBook Pro for Christmas. I think I can simply add it to my current printer, but have no clue as to how to do it. The more I research it, the more confused I get by the plethora of information pertaining to it. I feel sure this
-
Navigate directly to Service Ticket view in IC WebClient 5.0
Hi, We have a requirement where we should either confirm same BP(say anonymous) for all the Service Tickets, so that there is no need of going to Identify Account view and confirm an Account there. We dont mind even if there is a solution that allows
-
My wife and I both have a Verizon Ellipsis 7 MV7A tablet. She has been getting messages to the effect 'insufficient app storage space". My tablet shows total ROM of 5 Gib while hers shows total ROM of 1 Gib. We both show Total space of 8 Gib. I have