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
Gunnar

I would think that the datatype of the date attribute is a TimeStamp ? If yes changing it should help ..

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 Ratra

    Hi 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

  • Hw can I generate XY graphs directly in a vector data format for printing ie pdf

    A further question re. Printing of Graphs
    There are many similar questions but none where the answers are acceptably adiquite or two or three were the link was broken,
    "Developer exchange forums have been moved" and a pointer to the new
    site, unfort it was hard to find or guess the rest of the link.
    So here is my angle on this problem;
    So far I have tried;
    Using property node: "App.  Printing.Default Printer" to select the printer to use, then
    Using Report Functions to print controls;
    New Report, to generate a new report reference
    Set Report Orientation
    Set Report Margins
    Set Report Font
    Set Report Header Text
    Set Report Font
    Set Report Footer Text
    loop for each page
    Set Report Footer Text,     With page number
    Append Control Image to Report,      several times
    New Report Page
    Until the end of the last page
    Print Report
    Dispose Report
    Initially using existing XY-Graph controls from the front panel.  These
    are on a page of a Tab control to hide these controls while not in use
    and allow them to be hidden while generating the printout. 
    Unfortunately when this page is hidden any graph scales set to
    autoscale don't, (normally don't need to and would otherwise be a waste
    of processor time), resulting in graph plots going off scale or
    becoming a line along the axis.
    An issue is that what is printed appears to be read from the screen, so resolution is much
    lower than required for for printing, resulting in rather pixellated
    printed versions. These prints will usually be emailed, so tried the
    pdf995 "printer driver" but the resulting pdf file size is rather large.
     Currently trying Plot-XY on a much larger picture so as to get
    adequate resolution for printing, however suspect this will result in
    much larger pdf files and probably cause other problems. 
    The preferred solution in this case will probably be to generate print
    output, instead of based on raster images (ie jpg or png), but on a
    vector format, maybe via postscript or directly in pdf format.
    Similar graphs currently printed from Excel via pdf995
    (or OpenOffice) result in files around 20 kb per page. these can be printed at any size
    (at least upto 64 times) without becoming pixellated, so assume these
    are vector based.
    Currently a page with 4 XY Graph controls uses around 40 to 45 kb per
    page but resolution is poor and overcoming that may push file size up
    to 150 to 200 kb per page, and the whole job can be 50 to 100 pages.
    Are there any functions to generate XY graphs directly in a vector data format preferably in pdf or via PostScript format.
    Cheers
    Darryl

    Hi Darryl,
    I was able to reproduce the issue you were seeing, in which a report generation was taking up a large amount of space per page in a PDF utility. I found; however, using my attached VI (notice that it is set to *.png) and the CutePDF utility (free download at http://www.cutepdf.com/) I was able to get a per page size of about 10 KB. Also using the png I found that the image quality seemed to be quite high.
    Please try incorporating this solution into your application and see if it reduces your file sizes.
    Thanks and have a good evening!
    Cheers,
    Jonah
    Applications Engineer
    National Instruments
    Jonah Paul
    Marketing Manager, Embedded Software
    Evaluate the LabVIEW RIO Platform! - ni.com/rioeval
    Attachments:
    print_XY Graph.vi ‏23 KB

  • 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 Prasad

    Hi,
    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

  • 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

  • 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.

  • Sort issue on graph (line/bar) X-AXIS when using dates

    I have a line chart using dates on the x-axis, formatted as mm/dd/yyyy. This worked fine until the new year and now the sort order displays 01/xx/2008 before (left of) a 12/xx/2007 date.
    My quick fix was to change the format to yyyy-mm-dd, but I really don't like the way this looks.
    Is there a better solution?

    Hi Jason,
      here is the steps you should follow in order ro set the sorting for barchart.
    1. go to chart expert
    2. click on data tab
    3. select the field in the selected list of report columns on which you have to sort, then the order button will be enabled
    4. click on the order button
    5 it will open new window by name "chart sort order", where you can set the sorting order(ascending order, descending order, specified order or the original order) for the selected report column.
    I hope this will help you..
    Regards
    Deepa

  • How do I make a line graph that shows temperature readings taken on specific dates?

    I need to make a chart of my wife's temperatures taken via ovulation thermometer. All I need is a line graph that shows the temperatures on the y axis and the dates the measurements were taken on the x axis.
    What is the easiest way to do this? Please explain in detail as I have almost no knowledge regarding Numbers. Thanks.

    You can construct a Line graph or a Scatter graph to display this.
    The two are similar, but require the data to be set up differently.
    A Line graph is a Category graph.
    Each 'date' is a text value that names a category. The categories are equally spaced along the category axis. Measurements taken on day 1, day 2 and day 4 would be equally spaced with respect to the category axis.
    Each temperature reading is a numerical value, and is represented on the graph by the distance it is placed from (and usually above) the category axis.
    A Scatter graph has two value axes.
    Each Date is a Date and Time value. The position of these values depends on the value itself. Measurements taken on February 1, February 2 and February 4 wound not be equally spaced. Along the Date axis, the space between the second and third dates would be twice as wide as that between the first and second cates.
    Each temperature reading is a numerical value, and is represented on the graph in the same manner as in the Line graph.
    Here's an example of each, using the same data set.
    For the Line graph (left), the Category labels (dates) are placed in a Header column, and the temperatures in a non-header column,
    For the Scatter graph, both the dates and the temperatures are in non-header columns. The Chart Inspector was used to Connect the data points with straight line segments, and the weight of these lines (and size of the data point markers) was increased to more closely match the weights and sizes in the Line graph.
    Data on the graphs is not intended to have any similarity to temperatures measured for your purposes.
    The construct the line graph:
    Set up the data and labels as described.
    Select the cells containing the data (column B in my case).
    Click the Chart button and choose the Line Chart.
    To construct the scatter chart:
    Set up the data as described.
    Select the cells containing the date and temperature data (columns A and B for mine)
    Click the Chart button, and select the Scatter Chart button (third from the bottom),
    In the Chart inspector, click the Series button, then set the Connection Points menu to Straight. Change the Data Point size yo 15.
    Click anywhere on the line to select it, then in the Stroke section of the Format bar, set the line weight to 4 points.
    Click on the box containing the dates (under the chart), then click the ruler icon in the Inspector to show the metrics inspector. Use the Rotate control to set the angle for the dates to about 75°.
    Click on the label for this axis (Dates) and drag it to a position below the date labels.
    Regards,
    Barry

  • Line Graph date format

    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
    shk

    Hi,
    Replace the column formula of your date column as ,
    cast(MONTHNAME(YourDateColumn) as varchar(10))||' '||cast(YEAR(YourDateColumn) as varchar(10))
    Rgds,
    Dpka

  • Data from text file shown in line graph at once

    can anyone show me how to read the data from a txt file and show it in a line graph at once? my data is in the form of decimal number such as 3;45;67;89; thank you

    Probably not, based on the fact that you can't even word your problem in a sensible manner. So even if someone read your mind to fill in the blanks, you wouldn't understand the solution. And it's probably just stupid homework anyway, cheater.

  • Set decimal tick label for number axis

    Hi everyone,
    In my chart, the number axis tick label is always like float number. I need an decimal number tick label. Because I use auto-range on this axis, i think this
    NumberAxis(double lowerBound, double upperBound, double tickUnit) is not good for me.
    Also, I have try setTickLabelFormatter on FX example, but for me, it seems like useful for set prefix and suffix. Can someone give me solution for this problem
    Edited by: pirent420 on 19:08 17-09-2012: add tag

    It doesn't work properly.
    You can look the link here:
    Before I use yours: before
    After I use yours: After
    It convert all number object to integer. So if my chart has 4 tick label like: 1.0, 1.25, 1.5 and 1.75, it conver to 1, 1, 1 and 1. It not what I looking for. If axis has 3 value: 1,2 and 3, I just want it present only 3 tick labels, not expand more tick label like 1.25, 1.5, 1.75 ....

  • Keynote non-linear scale in line graph

    I'm trying to teach kids how to do line graphs and it doesn't help that Keynote treats the horizontal axis like it's a bar graph... even when you want a line graph. It takes the data points and spaces them evenly which can give you a non-linear scale. This is one of the classic mistakes kids make. Grapher can do it correctly but that's one more step.
    Any way to make it behave properly?
    aedan
    iMac G4 800, PowerBook G4 12, loads of older ones.   Mac OS X (10.4.5)   The SE/30 is the king of compacts.

    Keynote's graphing capabilities are relatively rudimentary, especially with regards to more technical needs. As far as I know, Keynote always treats X-axis labels categorically (it doesn't understand numeric values), and thus will always evenly space the datapoints.

  • Multi line graph values issue

    Hi,
    I am using JDev 11.1.2.2.0
    I made a standard line graph which I populate with data through a backing bean.
    I read a post on how to put points to the graph:
    ArrayList <Object[]> data;
    Object[0] -> x axis data, here I have dates
    Object[1] -> name of the serie, a new serie is created for each different name
    Object[2] -> y axis data, here I have values
    Then I put the list to the graph and it works fine, only for one serie.
    When I display 2 or more series, the graph shows the different series in different colors as it is suposed to do.
    But, the values (Y axis) are not displayed at the correct place. I mean for instance the point with value 4K is displayed below the 3K Y axis marker...
    And sometimes the point is displayed above as its real value...
    So my graph is false, but my values are correct (I tested it)
    Then what can I do? The graph can draw several lines as I managed to put more than one serie. The only problem is that they are not displayed properly...
    (if you need the code I can show it)
    Edited by: Jikai on 20 sept. 2012 16:51

    Ok, I found what was wrong.
    In the graph properties the subType field was set to LINE_VERT_STACK, then I changed it to default (LINE_VERT_ABS) and it worked.
    <dvt:lineGraph id="lineGraph" subType="*LINE_VERT_ABS*"
    binding="#{backingBeanScope.backing_ReportingPopUp.lineGraph}" shortDesc="Graph that shows metrics"
    inlineStyle="height:100%; width:100%;" imageFormat="FLASH">
    <dvt:background>
    <dvt:specialEffects/>
    </dvt:background>
    <dvt:graphPlotArea/>
    <dvt:seriesSet>
    <dvt:series/>
    </dvt:seriesSet>
    <dvt:o1Axis/>
    <dvt:y1Axis/>
    <dvt:legendArea automaticPlacement="AP_NEVER"/>
    <dvt:graphTitle text="Metrics for Hosts by Date" horizontalAlignment="CENTER"/>
    </dvt:lineGraph>

  • 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,
    Pete

    Have a look at the following classes :
    java.awt.Graphics (drawLine method)
    java.awt.Image
    java.awt.BufferedImage
    javax.imageio.ImageIO (jdk 1.4+)

  • Need help with date format mask

    Hi there, right now I'm trying to set a default date format mask constraint for one of the attributes for my table. I want to set the default mask constraint as MM/DD/YY but I don't know how to. it should be something like:
    CREATE TABLE work (WorkDate DATE CHECK (WorkDate = 'MM/DD/YY'))
    or something like that, but I don't think that's correct. Can anyone help me? Thanks in advance.

    What you want (and should have done) is to read the documentation, starting with the concepts:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/datatype.htm#CNCPT413
    http://www.oracle.com/pls/db102/search?remark=quick_search&word=date&tab_id=&format=ranked
    A date is stored as, well, a date, format masks only come into play when you're selecting/retrieving a date or when you want to store a string as a date. Default date formats can be set through NLS_DATE_FORMAT at session and database level.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams122.htm#REFRN10119
    Documentation homes (from which you can do a simple quick search):
    http://www.oracle.com/pls/db102/homepage
    http://www.oracle.com/pls/db112/homepage
    Bottom line:
    Trying to set a default date format mask on a date datatype column makes no sense...

Maybe you are looking for