Date series graph

Here's another doozy:
I'm trying to create a bar graph that has dates along the x-axis and values up the y-axis. The dates will be approximately once a week over a year. According to the faq I should be able to do something like this:
http://www.oracle.com/technology/products/reports/htdocs/faq/graph_faq_with_style.html#q32
But how do I represent the data in the xml for the chart definition?
I've tried setting timeAxis attribute in LocalGridData but I always get an error.
If I have the dates as ColLabels then I just get the canonical date format shown and the bars are spread evenly, even though the sample in the faq shows that gaps should be taken care of.
It would also be nice to just show the months as labels.
The original chart was done in Excel.

After much hunting around, I found that the chart dtd technote is out of date and does not document as much as in the actual graph.dtd in the bipres.jar.
In there I found I needed a dateFormat attribute for the LocalGridData when timeAxis="true" and that I could specify timeAxisYearFormat="NONE" timeAxisMonthFormat="MONTH_LONG" in the Graph tag.
This will then work the way I want only if the dates are regular eg. same date in the month, but won't work if I have the same 2 days in the months.
I might try using every day of the year as columns and just have data for the days I'm interested in. Otherwise it looks like the graphing package can't handle my case according to https://metalink.oracle.com/metalink/plsql/f?p=130:15:1334228859318038841::::p15_database_id,p15_docid,p15_show_header,p15_show_help,p15_black_frame,p15_font:BUG,3002631,1,1,1,helvetica
Here is a chart def that works, but if I change the dates eg. add an entry for the 14th of every month, it won't work. The dates that I have are fairly irregular, on average once a week, but could be any day of the week.
chart:
<Graph graphType="BAR_VERT_CLUST" timeAxisYearFormat="NONE" timeAxisMonthFormat="MONTH_LONG" timeAxisDayFormat="NONE">
<Title text="TITLE" visible="true" horizontalAlignment="CENTER">
<GraphFont name="Arial" bold="true" fontColor="#000000" size="18" />
</Title>
<Y1Title text="YTITLE" visible="true">
<GraphFont name="Arial" bold="true" fontColor="#000000" size="16" />
</Y1Title>
<Y1MajorTick visible="false" />
<O1Title text="2005/2006" visible="true">
<GraphFont name="Arial" bold="true" fontColor="#000000" size="18" />
</O1Title>
<SeriesItems>
<Series id="0" markerType="MT_BAR" color="#660066"/>
<Series id="1" markerType="MT_MARKER" color="#ff0000" lineStyle="LS_DASH_DOT"/>
<Series id="2" markerType="MT_MARKER" color="#0000ff" lineStyle="LS_DASH"/>
</SeriesItems>
<PlotArea fillColor="#ffff33"/>
<LegendArea position="LAP_TOP"/>
<LegendText>
<GraphFont name="Arial" fontColor="#000000" size="14" />
</LegendText>
<LocalGridData colCount="12" rowCount="3" timeAxis="true" dateFormat="YYYY-MM-DD">
<RowLabels>
<Label>Actual</Label>
<Label>Median Limit</Label>
<Label>90th Percentile Limit</Label>
</RowLabels>
<ColLabels>
<Label>2005-07-01</Label>
<Label>2005-08-01</Label>
<Label>2005-09-01</Label>
<Label>2005-10-01</Label>
<Label>2005-11-01</Label>
<Label>2005-12-01</Label>
<Label>2006-01-01</Label>
<Label>2006-02-01</Label>
<Label>2006-03-01</Label>
<Label>2006-04-01</Label>
<Label>2006-05-01</Label>
<Label>2006-06-01</Label>
</ColLabels>
<DataValues>
<RowData>
<Cell>
     10
</Cell>
<Cell>
     12
</Cell>
<Cell>
     8
</Cell>
<Cell>
     10
</Cell>
<Cell>
     12
</Cell>
<Cell>
     8
</Cell>
<Cell>
     10
</Cell>
<Cell>
     12
</Cell>
<Cell>
     8
</Cell>
</RowData>
<RowData>
<Cell>
     10
</Cell>
<Cell>
     10
</Cell>
<Cell>
     10
</Cell>
<Cell>
     10
</Cell>
<Cell>
     10
</Cell>
<Cell>
     10
</Cell>
<Cell>
     10
</Cell>
<Cell>
     10
</Cell>
<Cell>
     10
</Cell>
<Cell>
     10
</Cell>
<Cell>
     10
</Cell>
<Cell>
     10
</Cell>
</RowData>
<RowData>
<Cell>
     20
</Cell>
<Cell>
     20
</Cell>
<Cell>
     20
</Cell>
<Cell>
     20
</Cell>
<Cell>
     20
</Cell>
<Cell>
     20
</Cell>
<Cell>
     20
</Cell>
<Cell>
     20
</Cell>
<Cell>
     20
</Cell>
<Cell>
     20
</Cell>
<Cell>
     20
</Cell>
<Cell>
     20
</Cell>
</RowData>
</DataValues>
</LocalGridData>
</Graph>
Message was edited by:
lawsy

Similar Messages

  • Time Series Graph Show Inappropriate Data for Continuous Analysis

    Hi All,
    I have marked Month as the Chronological Key in my BMM Layer but still I am unable to view the data correctly in my Time Series graph because it shows Inappropriate Data for Continuous Analysis at the time of creating the Graph. Can anybody help me out with the same.
    Thanks

    What data type is your key? The chronological key is required for the time series formulas (ago etc.).
    The time series chart requires a date or datetime data type to work - perhaps a new column with the first of the month/period would help? Regards,
    Robret

  • Convert a scatter graph with multiple data series into individual graphs

    I am trying to convert a scatter graph with multiple data series into individual graphs, with the series having the same formatting as in the graph when all series are together.
    Normally, if I delete any series, the color scheme for all the other series vanishes. I can then waste more time in having to re-adjust the  color and shape of the series, but this is tedious. This, I do not want. Is there an automated way to do this?
    Ideally, of course, all series would appear in little subsections in the space of the former one graph, all with individual axes, but I can't have all, so I'll settle with having several individual new graphs, each with just one series, and with the original
    formatting.
    Thx.

    How about creating a copy of the chart, and then setting all series except one to be transparent (no line, no marker)? Repeat for each series.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Graph & Chart: select and colour single element of data series

    Hi,
    my question is about formatting Keynote graph: i.e. bar graph 2d or 3d, is it possible select and colour differently a single element of series? In Powerpoint exists that possibility, but in Keynote I can't find the way to select only one element. If I change colour, all series elements change.
    Thanks in advance
    Antonella

    Hi Pasha ,
    yes, i am quite sure that bars are overlapping and checked with the 3 options you have mentioned.
    3. I have tried streching the graph horizontally but still the same display.
    2. I did moved to mouse to the edge points of bar .. it only mentioned one data series instead of two
    1. See if the db column contains NON-ZERO values ? ..
    I am not sure of it but when deploying the model in VC , i got a warning message saying " Zero fill is checked without Max length in field "Gross Turnover Actual " of entity " query name "
    Let me know, how this efffects the display and what do i need to do to resolve the issue .
    Appreciate your valuable inputs ...
    Thnks,
    NR

  • SSRS Bar Chart grouping date series into Months, setting scaler start and end ranges

    I've been trying to solve this issue for a few days now without writing a sql script to create a "blank" for all of missing data points so that I get a bar for each month.  I have date series (by day) data points grouped by two items
    that creates a set of bar charts.  EG:  one chart per product in the tablix detail grouped to site level.
    My issue is I would like the start and end of the charts to be the same for all charts and the only way I get it to work is with a chart that continues to show each date on the chart. 
    EG:
    I have the graph start and end points set and scaling by month as I would like but each bar is a day instead of aggregating to a month level.   My issue I hope to find a workaround for is if I go to Category Groups and define the grouping
    to group with a year and month function the series is no longer treated as date data and I cannot control scaling.  It works fine if all months have activity, but I can't figure out how to always have all charts start at "May 2012" in this example. 
    The only start and end point that I've been able to get to work once doing this are integer based, eg normal start would be 1 for each graph, but 1 doesn't equate to the same month from chart to chart.
    I hope SSRS can provide the solution.  I do know I can write a query that creates a ZERO value for each month/product/site but I don't want to leave the client with a query like that to support.
    -cybertosis

    Hi cybertosis,
    If I understand correctly, you want to display all month category label in the X-Axis. You have configure the Scalar Axis, however, it cannot display the requirement format.
    In your case, if we want the specific data format, we can configure Number property to set the corresponding Category data format. Please refer to the following steps:
    Right click the X-Axis, select Horizontal Axis Properties.
    Click Number in the left pane. Click Date option in the Category dialog box.
    Then, select Jan 2000 option.
    Please refer to the following screenshot below:
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • How do I add moving averages to my time series graph is there a function on numbers on tr iMac?

    I've created a time series graph on numbers on my iMac but I need to add moving averages. Is there a function an if so where is it and if not is there a way to get around it

    Badunit,
    Here is an example plot, data sorted from most recent data at top of the table...
    You can see the moving average (of 20) is plotted from right to left.
    The Moving Average calculation is now wrong, and should have been calculated and presented from oldest to most recent.
    Here is the same data, with table sorted from oldest data at the top of the table.
    The moving average is also plotted from right to left, and shows the correct Moving Average for the most recent data.
    That is, it is calculated from oldest to most recent, with the last Moving Average data point plotted on "todays" date.
    What I want to see is my table displayed from most recent at the top (the top table), and moving average calculated and displayed as per the bottom graph.
    Edit: So, think about this some more,
    I need an option to tell Numbers to do the Moving Average calculation from the bottom of the table up, not from the top of the table down.

  • X-y Scatter chart with multiple data series

    Hi,
    How do I create an x-y scatter chart with more than 1 data series?  For example:
    Series 1
    x__y
    1__0
    2__5
    3__9
    4__7
    5__2
    Series 2
    x_____y
    0.5___0
    1.3___4.8
    2.6___12.3
    4.1___8.4
    4.9___3.2
    I can do this with 2 seperate graphs but I need them on the same graph.
    Is there a limit on the number of series that can be placed on a single x-y scatter graph?
    Many thanks.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Overlapping of data series in Combo Chart

    Hi All,
    We are working on VC7.0
    I have three data series elements and I would like to display them in a combo chart with two columns and a line .
      ( 1.Actual Gross Turnover - Column
        2. Planned Gross Turnover - Column
        3. Actual Gross Turnover prior Year - Line )
    I tried with different options present there in Configure Element , but the two columns overlap with each other i.e the highest column is overriding the lower column.
    Can someone help me out in this ?
    Thnks,
    NR

    Hi Pasha ,
    yes, i am quite sure that bars are overlapping and checked with the 3 options you have mentioned.
    3. I have tried streching the graph horizontally but still the same display.
    2. I did moved to mouse to the edge points of bar .. it only mentioned one data series instead of two
    1. See if the db column contains NON-ZERO values ? ..
    I am not sure of it but when deploying the model in VC , i got a warning message saying " Zero fill is checked without Max length in field "Gross Turnover Actual " of entity " query name "
    Let me know, how this efffects the display and what do i need to do to resolve the issue .
    Appreciate your valuable inputs ...
    Thnks,
    NR

  • Data Series in VC.

    Hi,
    My requirement is to get the data coming from DB into graph series. Result set contains 10 records. How can i assign this values to Data Series?
    Regards
        vinod

    Hi Vinoth,
    I checked your problem.For me it is working but i'm using BAPI instead of SQL element.
    Did you set the data type of the field 'age' as numeric while creating the SQL table?
    Why you are using 'Result' node and why should you try to use 'Output' node.? It may be the problem here.
    I was wondering to hear about the fields are not displayed in 'Configuration Element' window but displayed in run time.
    So problem is from your Database element only. So make it correct by getting the result from 'Output' node. Try this. If any problem occurs means mention that.
    Regards
    Basheer
    Edited by: Basheer on Dec 26, 2008 5:59 PM

  • Is there a way to change the default colors for data series in charts?

    I have tried to find settings for data series colors in the various CSS files but have not found any.

    Did you try:
    OracleBI/web/app/res/s_.../popbin/
    EX:
    line.pcxml Look for <SeriesDefinition ...
    we modified the line width and a few other things. You'll have to modify all the pcxml files for all the chart types you want to customize.

  • I want data series in Keynote chart to enter one at a time.

    In older version of Keynote, data series can enter one at a time. In version 6.2, seems all series enter at once. Can different series be made to enter one at a time in Keynote 6.2?

    Select the chart
    Inspector > Animate > Build IN > Add an Effect
    choose an effect
    in the Delivery drop down menu select;   By Element in Series

  • Regarding Time Series Graph in OBIEE 11g

    Hi,
    I need to create a time-series graph in OBIEE 11g. However, the value for time on the x-axis of the graph automatically comes for days.
    Is there any way to change it to hours or minutes?
    Thanks,
    Naman Misra

    Yes, it shud be a prob. Try using seperate tables for fact n timedim

  • Line chart with more than 15 data series - color problem

    Hi all,
    I've built a line chart with 32 data series (user can control, which of them are displayed at a time). For series 16 to 32 I did manipulate the URL in the browser directly, because Application Express does only display parametrs for up to 15 series. This works fine so far except of displaying the colors. For each sieries I defined a different color. 29 of my 32 series are displayed in the desired color. But series 29, 31 and 32 are displayed in a default-color (#0099CC). It seems that this is a SVG-problem. In the SVG-source I find the wrong color. When I export my application, I see the right color.
    Thanks for help,
    Chris

    Hello,
    Which version of APEX are you using?
    Go to your Flash Chart attributes - get into your series (click the icon) in the section of Series Query you'll find the maximum rows.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • How to create line hart with variable number of data series

    Hello,
    I am student and I am completely new to Flex programming but
    I need to urgently create an app that should have a variable number
    of data series but of ame type of object.
    eg. Profits for X,Y and Z in in run while just corp X in the
    next instance.
    How can I accomodate for this in the app? can someone point
    me in the right direction I would really greatful as this project
    is really crucial for my coursework to get finished in timely
    manner.
    Thank you

    Hey,
    I'm not really sure what you want, but you should check out:
    http://demo.quietlyscheming.com/ChartSampler/app.html
    Which has a list of different types of charts in Flex and
    will hopefully help. Also check out charting from ILOG, which is
    quite good:
    http://www.ilog.com/products/elixir/

  • How to change colors of individual column bar in the same data series

    in mac numbers, how to change colors of individual column bar in the same data series. The entire column series gets selected in the column bars and cannot select to change colors of specifc bars.

    Hi Kiran,
    no its not possible through Theme editor also ,because these colors are coming from Compiler which u are using.
    Regards,
    Govindu

Maybe you are looking for

  • Mac Mini rejoining preferred wireless network

    I have a Mac Mini Aug 2011, i7 with all of the lastest updates, 10.7.2. Whenever I reboot, it doesn't reconnect to the preferred hidden wireless network automatically. I have to go into Wi-Fi icon in the menu bar and manually and select my wireless n

  • Disconnecting periodically on xbox live

    Hello, i've been having a problem with my linksys WRT54GS version 7 router disonnecting constantly with xbox live. My connection works fine while the computer is  connected at the same time, but xbox live just disonnects. I use a direct connecting to

  • Mapping system on Q10

    My previous Galaxy S2 totally dead recently so I have had my eyes on Q10 with nice looking and awesome physical qwerty keyboard. I sticked with android phones for years and am used to the way they works. My question is whether the mapping system as g

  • Get the data form the jsp page

    My question is too simple that I think I don't need to explain <form action="test2.jsp" method="post"> <% String name=""; name = (String)request.getAttribute("names"); out.print(name); %> <input type="submit" value="submit"> </form> How can I get the

  • I forgot my icloud id and pssword, i forgot my icloud id and pssword

    i forgot my icloud id and pssword, i forgot my icloud id and pssword i dont dont knw how to get it back. could u help me to find?