Line graph properties

Hi,
I got a table like this :
ID - TIMESTAMP - HISTORY - FUTURE
1 - 26 jan 2010 - 22 - 0
1 - 27 jan 2010 - 26 - 0
1 - 28 jan 2010 - 30 - 0
1 - 29 jan 2010 - 32 - 32
1 - 30 jan 2010 - 0 - 35
1 - 31 jan 2010 - 0 - 39
1 - 1 feb 2010 - 0 - 43
I want to create a line graph, but I need a contineous graph with on the X-axis the timestamp,
and the Y-axis first the History, and then seemlessly followed by the Future values.
Now I get at 29 jan 2010 a sort of cross in my graphic.
I mean : the future graph starts plotting at 28 jan and rising until value 32 at 29 jan, and it should stay 0 until 29th jan.
Is this possible ?
Edited by: Facehugger on Feb 23, 2010 6:20 AM

Hi,
Thanks for the tip.
Now I get 1 smooth line showing both history and forecast without a 'fade out' in the middle from
history and a 'fade in' in the middle from forecast.
This is my query :
SELECT Measurements.OBJECTID,
Measurements.TIMESTAMP,
CASE
WHEN Measurements.FORECAST =0
THEN Measurements.HISTORY
ELSE Measurements.FORECAST
END
FROM MEASUREMENTS Measurements
But ...
How can I use 2 colors like this example :
http://www.fraport.com/cms/media/184/184224.forecast_2020.jpg
blue = history
green = forecast
This is also an example of the type of graph I want to create :
http://www.dft.gov.uk/144130/185507/209573/Road_Traffic_Forecasts.gif
So multiple lines in different colors, where some of the values are 0 (the first 10 for example).
Thanks in advance.

Similar Messages

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

  • Issue with Line Graph in SSRS

    I am pulling my hair our trying to format a line graph.
    Below is my current report - 
    The Line Graph I have created has a Category Group of "YearLogged" and "MonthLogged".
    The series I have added is an expression -
    =Count(IIF(Fields!InvoicePaid_.Value = "Yes" And Fields!ProcessTarget.Value = "InTarget", 1, Nothing))
    As you can see the data label is coming back as values in "Paid" column from my table. What I want is the percentages instead labelled.
    Also the Y axis is coming back with the total Paid invoices as a percentage? That's not right I want that to show up to 100%.
    I just want to show what % of invoices are being paid In Target over the month.
    Another question - where is the legend title getting "Process Target" from? Can I rename that to what ever I want?

    Hi ikilledbill,
    According to the snapshot of the chart you have provided that it seems you have put the fields "YearLogged" and "MonthLogged" in the Category Group and add  field "InTarget" in the Value area as Series, you also add
    the expression "Count(IIF(Fields!InvoicePaid_.Value = "Yes" And Fields!ProcessTarget.Value = "InTarget", 1, Nothing))" to display another series, now you want to display the percentage of InTarget/Paid as the data
    point, right?
    I have tested on my local envoronment and details information below for your reference:
    I have use some sample data as below and if you want to display the percentage value as in below snapshot, you need to add expression like below in the series:
    =Fields!InTarget.Value/Fields!Paid.Value
    After add the expression, right click the data label to select the "Series Label Properties" and click Number to select the "Percentage".
    Right click the Y-Axis and select the "Vertical Axis Properties", click Number to select the "Percentage".
    To change the Legend Title, please right click the series and select the "Series Properties", enter the title you want in the "Custom legend text":
    If I have some misunderstanding, please try to provide more details information about the design of the chart and also sample data in the table.
    Any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Report Line Graph Question

    Hi, I am plotting a line graph with some date values on the X axis and some data on the Y axis.
    For Example:
    Sep 01 11
    Sep 02 19
    Sep 03 14
    Sep 04
    Sep 05 9
    Sep 06
    Sep 07
    Sep 08 19
    This will result in gaps on the 4th, 6th and the 7th. This is expected behaviour. However, is it possible to set some properties in the graph so the line will be continuous. For Example From 14 to 9 (downward) and from 9 to 19 (upward), without 'assuming' values or nvling to 0 (then the line will drop all the way to 0 and bounce up). ( I want to include dates without Y axis data )
    I have markers on points that have values (ex: 11,19,14,9 and 19), if the line just connects without data there will not be any markers and the user will understand there are no data for those dates. The continuous line will make it easy to understand the flow (without using a fit or a trend line).
    I have pretty much exhausted all attribute settings from graph.dtd
    Note: I have an access chart I am converting to Reports and access lets you do this and I have to maintain the same in Reports !
    Thanks
    A
    null

    Bump. Thanks

  • 2D Line Graph Question

    I have a 2D line graph that I built. At some points in the graph where the lines intersect the number values displayed on the graph get bunched up and it is hard to read. Is there a way to fix that? This is APEX 3.2 on Oracle 10.2.0.4 database. Thanks

    You basically have only a couple of options here:
    First, turn off the labels and possibly turn them into Hints. They wouldn't show on the chart, but when the user held over the data point, a tool tip would appear showing them the valuable.
    Second, adjust elements of the chart. What you are really looking at here is that your data set is causing this specific issue and not the charting engine or anything like that. You could try to manually change the axis max and min to get more spacing, or you could adjust the height of the chart to get more spacing, but this may not be a viable option. You could have one set of labels above the plotted line and another set of labels below the plotted line that way the values do not overlap with anything. However, from a conceptual standpoint, it will be difficult to determine in code which line should have values above and which should have values below. When your data set changes, you may end up with labels in the wrong place if you hard code where they are at.
    The current XML reference can be found at: http://www.anychart.com/products/anychart/docs/xmlReference/index.html however, that is for anychart 5. I'm looking for the link to the earlier versions...
    You can use this to create custom xml where you can adjust the position of the labels.
    Finally, you do not want expand the height of the chart between two points on the Y axis. That would change the structure of the chart and the visual properties of the chart and the shape of the data would be askew. You cannot do this for good reason. You can though use a logrithmic scale. In most cases though, this is not a practical solution. Data sets need to have very specific characteristics in order to be able to merit a logrithmic scale. Most queries require a simple linear scale.
    Austin

  • Design Studio line graph width

    Hi,
    Please let me know where to change the width of the line in the line graph of the BO design studio 1.4
    Thanks,
    Viswes

    Hi Viswes,
    Under additional Properties is where you can change the width of a line.
    Raj

  • Line Graph/Chart

    Post Author: vmm
    CA Forum: Charts and Graphs
    Hi All,
    Does anyone know how to make the 'Data Labels' in Line graph on the 'x axis' to be vertically align?
    The thing is, on the x axis I have 'date with timestamp' labels e.g. "2007/08/30 20:19:45". When I
    have large amount of data the labels overlap. I think one solution it make the labels to be vertically
    aligned rather then horizontal.
    But I can't seem to find an option to do this in Crystal 10.

    Post Author: stefanogiron
    CA Forum: Charts and Graphs
    vmm: Does anyone know how to make the 'Data Labels' in Line graph on the 'x axis' to be vertically align? The thing is, on the x axis I have 'date with timestamp' labels e.g. "2007/08/30 20:19:45". When I have large amount of data the labels overlap. I think one solution it make the labels to be vertically aligned rather then horizontal. 
    I am using Crystal Report provided with Visual Studio .NET 2005.I have the same problem.Sometimes I can put x-axis label verticaly but changing some properties stop this feature.I have a lot of data and even if using "chart options->grid->Group Axis panel->labels panel->manual number of groups->between labels"=3 data the labels overlap. I cannot set between labels=10 because an error occured.
    Any suggestion?
    regards,Stefano

  • 2d Flash Line Graph Issues

    Hi,
    I am editing the xml for the 2d flash line graph, and having difficulty performing some customisations.
    Could anyone assist with the following:
    1) Changing the default line colours. I have 4 series. Changing the following does not change the line colours:
    <line_chart left_space="5" right_space="5">
    <block_names enabled="no" />
              <dots radius="1"/>
              <lines size="1" auto_color="no" color="blue"></lines>
              <lines size="1" auto_color="no" color="red"></lines>
              <lines size="1" auto_color="no" color="green"></lines>
              <lines size="1" auto_color="no" color="pink"></lines>
    </line_chart>
    2) Is there any way to add commas (thousands) to the Y axis labels?
    Many thanks for any assistance with these
    Steve

    Hi Ben,
    Yes I was looking at that, but just discovered that I can do the following:
    <values show="no" thousand_separator="," />
    and it seems to do it.
    I am now having REAL issues with the X and Y axis formatting. I am including font nodes inside the y_axis / x_axis nodes (as per anychart 3 docs) but the formating properties are not changing the axis labeling:
    <!--
    <y_axis name="Water Injected (&P320_UNITS.)" smart="yes" direction="horizontal" rotation="-90" position="left_center" >
    <font size="20" type="Verdana" color="" bold="" italic="" underline="" align="left"/>
    </y_axis>
    <x_axis name="" smart="no" direction="horizontal" rotation="-90" position="top">
    <font size="20" type="Verdana" color="" bold="" italic="" underline="" align="left"/>
    </x_axis>
    -->
    do you have any experience with doing this?
    thanks again
    Edited by: Steve_Macleod on May 14, 2009 3:18 PM

  • Chnages in the Graph properties are not getting reflected in the Browser.

    Hi,
    I have made some changes in the Graph properties in web template,
    Eg. : 1. change in color of a series for a columnar type graph
             2.change in the Text properties of Graph Series..
    When I save the template and try to run in the Browser, these changes are not getting reflected.
    Can anybody help me in this aspect ?
    Thanks.
    Regards.
    Amol Bade

    Same here :´(
    Thanks In Advance
    Juan

  • How to draw cumulative line graph over the stacked bar chart?(SSRS)

    Hello, 
    I need your help to draw a cumulative line graph over this bar chart. 
    I need your help to draw a cumulative line graph over this bar chart in SSRS.
    The dimension (Category Group) is "Hour" in this case. and expression is sum of two distinct values like 'Y' and 'N' in Activity column(Series Groups). The sum(Activity=Y) in green color and sum(Activity='N') in Red color.
    I require to draw a cumulative line graph in this same chart, that should give the result of cumulative Sum(Activity) for each hour?? I mean sum of (Y+N) for each hour and that should be cumulative over the hour.
    I mean sum of (Y+N) for each hour and that should be cumulative over the hour.
    SSRS Version details:
    Microsoft SQL Server Reporting Services Designers 
    Version 10.50.1600.1
    --Siva

    Hi Siva,
    It seems that you need to verify your email address to post images, etc
    Besides,  Microsoft® SQL Server™ 2008 Reporting Services: Step by Step is a good choice to you. With STEP BY STEP, you work at your own pace through hands-on, learn-by-doing exercises. A companion CD includes data sets and sample code. You can download
    it from this link http://my.safaribooksonline.com/9780735626041 Click the Extras, you can get the samples and database from Supplemental Content.
    And there are vast of valuable articles and SQL Server Reporting Services Books Online in MSDN ,you can click these link to begin your learning journey, SQL Server Reporting Services 2008 Books Online:
    http://msdn.microsoft.com/en-us/library/ms159106(v=SQL.100).aspx 
    Besides these, there are still many valuable videos in Microsoft Webcast, click this link
    https://msevents.microsoft.com/cui/SearchDisplay.aspx?culture=en-US#culture=en-US;eventType=0;sortKey=;sortOrder=;pageEvent=false;hdnInitialCount=;searchcontrol=yes;kwdAny=Reporting%20service to register with a windows live ID, then download the ones you
    want.
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Help needed in plotting Line Graph!!!!!!!!!Pls help!!

    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

  • Help needed in plotting line graph!

    Hi i need help in plotting a line graph complete with both axes shown,plus the legend on the side shown.
    Pls help!!!!
    rgds

    Here's a simple line graph applet I did some time backimport java.awt.*;
    public class LineGraff extends java.applet.Applet{
       double []toGraff = {6.0, -14.0, -164.0, -210.0, 108.0, 770.0,
                                1354.0, 896.0, -572.0, -1348.0, -780.0, -108.0};
       double []numsFromFile = {6.0, -14.0, -164.0, -210.0, 108.0, 770.0,
                                1354.0, 896.0, -572.0, -1348.0, -780.0, -108.0};
       int max, min, size, Hscale;
       double Vscale;
       public void init(){
          size = numsFromFile.length-1;
          java.util.Arrays.sort(numsFromFile);
          max = (int) numsFromFile[size];
          min = (int) numsFromFile[0];
          Vscale = max-min;
          Vscale = 200/Vscale;
         Hscale = Math.round(300/size);
       public void paint(Graphics g) {
          g.setFont(new Font("Arial",0,14));
          g.drawString("Example app: drawing a graph from a double array",25,18);
          g.setFont(new Font("Arial",0,10));
          g.setColor(Color.blue);
          g.fillRect(10,20,365,230);
          g.setColor(Color.cyan);
          g.drawLine(25,25,25,225);
          g.drawLine(25,140,330,140);
          g.setColor(Color.white);
          int intA = 30, intB = 0, intC = 0;
          int intD = (int) (Math.round(140 - (Vscale * toGraff[0])));
             for(int i=1; i <= size; i++) {
               intC = intA + Hscale;
               intB = intD;
               intD = (int) (Math.round(140 - (Vscale * toGraff[ i ])));
               g.drawLine(intA, intB, intC, intD);
                  if(toGraff[ i ] > 0)
                     g.drawString(Double.toString(toGraff[ i-1 ]), intA+6, intB-3);
                  else
                     g.drawString(Double.toString(toGraff[ i-1 ]), intA+6, intB+8);
               intA += Hscale;
          g.drawString(Double.toString(toGraff[size]), intA+6, intD-3);    
    }

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

  • 11.1.1.5 - Measure labels are appearing in legend (line graph)

    I've created a line graph in 11.1.1.5. My legend is showing a combination of the column value and the measure name (e.g. Web Sales, Direct Sales, Retail Sales). I want my legend to simply say Web, Direct, and Retail, without the appended 'Sales' measure label.
    The Measure Labels tile is currently residing in the Vary Color By (Horizontal Axis) zone, along with the legend column, so I guess it makes sense that the legend column and the measure labels would both show up in the legend (although I don't think that was the case in 11.1.1.3). However, there doesn't appear to be any place into which I can relocate the Measure Labels tile so that the word Sales DOESN'T appear on the line graph. If I move the Measures Labels tile into Graph Prompts, Sections, or Group By (Horizontal Axis), the word Sales appears in those locations. If I attempt to move that tile into the Lines (Vertical Axis) box, or into the Excluded box, it won't allow being dropped there.
    Switching between line, bar, and area graphs reveals the same problem in all graph types.
    Is there any way to supress the display of measure labels on graphs in 11.1.1.5?

    Hi Paul,
    This is the feature in 11g obiee displaying the Measue heading and dimension value... like u said right Web Sales...and so on.
    Here in u case web is the value of dimension and Sales is heading of a measure.
    One way is if u are not using any dimension apart from 1 dim and fact u can put measure labels in the group by axis and dimension column in the show in legend section then it will give u only web.
    But if u have 2 dimension then we have to put this measure labels with either one of the dimensions in this case heading of the measure wil display.
    Thanks
    Subhash

  • Marker Shape in Legend - Line Graph

    Hello,
    I have recently upgraded from 10g Release 1 to 10g Release 2.
    I am using a line graph. In Release 1, the data marker shapes show up in the legend. In Release 2, they don't. In Graph.xml, I have set the Graph element to have the attribute markerShapeInLegend="true".
    Does anybody else have this problem and/or know of a solution?
    Thank you.

    Hi Paul,
    This is the feature in 11g obiee displaying the Measue heading and dimension value... like u said right Web Sales...and so on.
    Here in u case web is the value of dimension and Sales is heading of a measure.
    One way is if u are not using any dimension apart from 1 dim and fact u can put measure labels in the group by axis and dimension column in the show in legend section then it will give u only web.
    But if u have 2 dimension then we have to put this measure labels with either one of the dimensions in this case heading of the measure wil display.
    Thanks
    Subhash

Maybe you are looking for

  • REPOST:Timing does not show up when using custom templates

    all, When I create an unstructured template and use it in a report with show timing set to true, the timing does not show up. any tips

  • Pass language parameter to MSA

    Hi experts We are looking to pass the parameters of username and password automatically in our Citrix envirnonment to prevent the need for another logon after the Citrix logon I have used the command: mobileclient.exe /application "C:\Program Files\S

  • Does an AP reboot if you change the WLANs in an AP Group?

    When you create an AP Group and then assign an access point to that AP Group, you have to reboot the AP. What if you edit an AP Group?  Do the APs automatically reboot, or do you need to do it manually or even better, not at all? I can't see to find

  • What is current version of Ilustrator for Mac.

    I have 17.0.2 installed. I see references here of 17.1. In my user folder "Library/Application Support/Adobe/AAMUpdater/1.0/Data/AdobeIllustrator17-mul/17.3" I see this. The CC app is so screwed up you never know for sure what the current version of

  • Accented (Hungarian) characters - puzzle.

    Hi all, I have a .csv file with English words and their Hungarian equivalent - the .csv file is fine and appears with the correct accents in both LibreOffice Calc and with gedit and the command line (i.e. $> more my_file.csv) in bash. ===============