Line Graph help

Post Author: Erobson
CA Forum: Charts and Graphs
I have data organized into rows as follows:Site    | Period 1 | Period 2 | Period 3 | Period 4|For instance,Site 1 |  45% | 35% | 56% | 60% |Site 2 |  50% | 45% | 36% | 40% |I want to create a line graph where each line represents a site with the periods as the x axis and the % as the y axis (I want to graph across the rows).  All the examples I've been able to find graph down columns, and I can't figure out how to change this.  Any help is apreciated.Best,ERobson

Post Author: Lugh
CA Forum: Charts and Graphs
There are a number of possible solutions.  Here is, IMHO, the simplest:Create a line graph.  Under the Data tab, click Advanced.  In the "On Change Of" section, put Site.  In the Show Values, put each of your Period fields.If you don't want it broken down by site, simply change "On Change Of" to either "For Each Record" or "For All Records", depending on what you want. 

Similar Messages

  • 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);    
    }

  • Need Help with creating Line Graph Chart

    I have the following XML Data
    <DATA>
    <PERCENT_ROW>
    <YEAR>2007</YEAR>
    <PERIOD>3</PERIOD>
    <MATERIAL_TYPE>C</MATERIAL_TYPE>
    <BRANCHDESC>Longview</BRANCHDESC>
    <LOCATION>30</LOCATION>
    <QUARTERDESC>Quarter 1</QUARTERDESC>
    <CURRPERIOD>Mar 2007</CURRPERIOD>
    <VALUECURRENTPERIOD>99.9</VALUECURRENTPERIOD>
    <QUARTERVALUE>100</QUARTERVALUE>
    <YTDVALUE>100</YTDVALUE>
    <STDCURRENTPERIOD>99.2</STDCURRENTPERIOD>
    <VARIANCE_STD>-.7</VARIANCE_STD>
    <VARIANCE_STD_PERCENT>-.7</VARIANCE_STD_PERCENT>
    <CURRENT_12MMA>99.97</CURRENT_12MMA>
    <PRIOR_12MMA>0</PRIOR_12MMA>
    <CURRPERSUB1>Feb 2007</CURRPERSUB1>
    <VALUECURRENTPERIODSUB1>100</VALUECURRENTPERIODSUB1>
    <CURRPERSUB2>Jan 2007</CURRPERSUB2>
    <VALUECURRENTPERIODSUB2>100</VALUECURRENTPERIODSUB2>
    <CURRPERSUB3>Dec 2006</CURRPERSUB3>
    <VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
    <CURRPERSUB4>Nov 2006</CURRPERSUB4>
    <VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
    <CURRPERSUB5>Oct 2006</CURRPERSUB5>
    <VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
    <CURRPERSUB6>Sep 2006</CURRPERSUB6>
    <VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
    <CURRPERSUB7>Aug 2006</CURRPERSUB7>
    <VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
    <CURRPERSUB8>Jul 2006</CURRPERSUB8>
    <VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
    <CURRPERSUB9>Jun 2006</CURRPERSUB9>
    <VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
    <CURRPERSUB10>May 2006</CURRPERSUB10>
    <VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
    <CURRPERSUB11>Apr 2006</CURRPERSUB11>
    <VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
    </PERCENT_ROW>
    <PERCENT_ROW>
    <YEAR>2007</YEAR>
    <PERIOD>3</PERIOD>
    <MATERIAL_TYPE>C</MATERIAL_TYPE>
    <BRANCHDESC>Oakland</BRANCHDESC>
    <LOCATION>31</LOCATION>
    <QUARTERDESC>Quarter 1</QUARTERDESC>
    <CURRPERIOD>Mar 2007</CURRPERIOD>
    <VALUECURRENTPERIOD>100</VALUECURRENTPERIOD>
    <QUARTERVALUE>100</QUARTERVALUE>
    <YTDVALUE>100</YTDVALUE>
    <STDCURRENTPERIOD>100</STDCURRENTPERIOD>
    <VARIANCE_STD>0</VARIANCE_STD>
    <VARIANCE_STD_PERCENT>0</VARIANCE_STD_PERCENT>
    <CURRENT_12MMA>100</CURRENT_12MMA>
    <PRIOR_12MMA>0</PRIOR_12MMA>
    <CURRPERSUB1>Feb 2007</CURRPERSUB1>
    <VALUECURRENTPERIODSUB1>100</VALUECURRENTPERIODSUB1>
    <CURRPERSUB2>Jan 2007</CURRPERSUB2>
    <VALUECURRENTPERIODSUB2>100</VALUECURRENTPERIODSUB2>
    <CURRPERSUB3>Dec 2006</CURRPERSUB3>
    <VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
    <CURRPERSUB4>Nov 2006</CURRPERSUB4>
    <VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
    <CURRPERSUB5>Oct 2006</CURRPERSUB5>
    <VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
    <CURRPERSUB6>Sep 2006</CURRPERSUB6>
    <VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
    <CURRPERSUB7>Aug 2006</CURRPERSUB7>
    <VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
    <CURRPERSUB8>Jul 2006</CURRPERSUB8>
    <VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
    <CURRPERSUB9>Jun 2006</CURRPERSUB9>
    <VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
    <CURRPERSUB10>May 2006</CURRPERSUB10>
    <VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
    <CURRPERSUB11>Apr 2006</CURRPERSUB11>
    <VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
    </PERCENT_ROW>
    <PERCENT_ROW>
    <YEAR>2007</YEAR>
    <PERIOD>3</PERIOD>
    <MATERIAL_TYPE>C</MATERIAL_TYPE>
    <BRANCHDESC>Seattle</BRANCHDESC>
    <LOCATION>32</LOCATION>
    <QUARTERDESC>Quarter 1</QUARTERDESC>
    <CURRPERIOD>Mar 2007</CURRPERIOD>
    <VALUECURRENTPERIOD>12.4</VALUECURRENTPERIOD>
    <QUARTERVALUE>18.7</QUARTERVALUE>
    <YTDVALUE>18.7</YTDVALUE>
    <STDCURRENTPERIOD>-2527.7</STDCURRENTPERIOD>
    <VARIANCE_STD>-2540.1</VARIANCE_STD>
    <VARIANCE_STD_PERCENT>100.5</VARIANCE_STD_PERCENT>
    <CURRENT_12MMA>18.7</CURRENT_12MMA>
    <PRIOR_12MMA>0</PRIOR_12MMA>
    <CURRPERSUB1>Feb 2007</CURRPERSUB1>
    <VALUECURRENTPERIODSUB1>37.2</VALUECURRENTPERIODSUB1>
    <CURRPERSUB2>Jan 2007</CURRPERSUB2>
    <VALUECURRENTPERIODSUB2>6.5</VALUECURRENTPERIODSUB2>
    <CURRPERSUB3>Dec 2006</CURRPERSUB3>
    <VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
    <CURRPERSUB4>Nov 2006</CURRPERSUB4>
    <VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
    <CURRPERSUB5>Oct 2006</CURRPERSUB5>
    <VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
    <CURRPERSUB6>Sep 2006</CURRPERSUB6>
    <VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
    <CURRPERSUB7>Aug 2006</CURRPERSUB7>
    <VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
    <CURRPERSUB8>Jul 2006</CURRPERSUB8>
    <VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
    <CURRPERSUB9>Jun 2006</CURRPERSUB9>
    <VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
    <CURRPERSUB10>May 2006</CURRPERSUB10>
    <VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
    <CURRPERSUB11>Apr 2006</CURRPERSUB11>
    <VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
    </PERCENT_ROW>
    <PERCENT_ROW>
    <YEAR>2007</YEAR>
    <PERIOD>3</PERIOD>
    <MATERIAL_TYPE>C</MATERIAL_TYPE>
    <BRANCHDESC>Yakima</BRANCHDESC>
    <LOCATION>33</LOCATION>
    <QUARTERDESC>Quarter 1</QUARTERDESC>
    <CURRPERIOD>Mar 2007</CURRPERIOD>
    <VALUECURRENTPERIOD>36.4</VALUECURRENTPERIOD>
    <QUARTERVALUE>68.2</QUARTERVALUE>
    <YTDVALUE>68.2</YTDVALUE>
    <STDCURRENTPERIOD>-5517.2</STDCURRENTPERIOD>
    <VARIANCE_STD>-5553.6</VARIANCE_STD>
    <VARIANCE_STD_PERCENT>100.7</VARIANCE_STD_PERCENT>
    <CURRENT_12MMA>68.17</CURRENT_12MMA>
    <PRIOR_12MMA>0</PRIOR_12MMA>
    <CURRPERSUB1>Feb 2007</CURRPERSUB1>
    <VALUECURRENTPERIODSUB1>68.6</VALUECURRENTPERIODSUB1>
    <CURRPERSUB2>Jan 2007</CURRPERSUB2>
    <VALUECURRENTPERIODSUB2>99.5</VALUECURRENTPERIODSUB2>
    <CURRPERSUB3>Dec 2006</CURRPERSUB3>
    <VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
    <CURRPERSUB4>Nov 2006</CURRPERSUB4>
    <VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
    <CURRPERSUB5>Oct 2006</CURRPERSUB5>
    <VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
    <CURRPERSUB6>Sep 2006</CURRPERSUB6>
    <VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
    <CURRPERSUB7>Aug 2006</CURRPERSUB7>
    <VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
    <CURRPERSUB8>Jul 2006</CURRPERSUB8>
    <VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
    <CURRPERSUB9>Jun 2006</CURRPERSUB9>
    <VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
    <CURRPERSUB10>May 2006</CURRPERSUB10>
    <VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
    <CURRPERSUB11>Apr 2006</CURRPERSUB11>
    <VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
    </PERCENT_ROW>
    <PERCENT_ROW>
    <YEAR>2007</YEAR>
    <PERIOD>3</PERIOD>
    <MATERIAL_TYPE>C</MATERIAL_TYPE>
    <BRANCHDESC>Twin Falls</BRANCHDESC>
    <LOCATION>34</LOCATION>
    <QUARTERDESC>Quarter 1</QUARTERDESC>
    <CURRPERIOD>Mar 2007</CURRPERIOD>
    <VALUECURRENTPERIOD>100</VALUECURRENTPERIOD>
    <QUARTERVALUE>99.8</QUARTERVALUE>
    <YTDVALUE>99.8</YTDVALUE>
    <STDCURRENTPERIOD>100</STDCURRENTPERIOD>
    <VARIANCE_STD>0</VARIANCE_STD>
    <VARIANCE_STD_PERCENT>0</VARIANCE_STD_PERCENT>
    <CURRENT_12MMA>99.8</CURRENT_12MMA>
    <PRIOR_12MMA>0</PRIOR_12MMA>
    <CURRPERSUB1>Feb 2007</CURRPERSUB1>
    <VALUECURRENTPERIODSUB1>99.4</VALUECURRENTPERIODSUB1>
    <CURRPERSUB2>Jan 2007</CURRPERSUB2>
    <VALUECURRENTPERIODSUB2>100</VALUECURRENTPERIODSUB2>
    <CURRPERSUB3>Dec 2006</CURRPERSUB3>
    <VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
    <CURRPERSUB4>Nov 2006</CURRPERSUB4>
    <VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
    <CURRPERSUB5>Oct 2006</CURRPERSUB5>
    <VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
    <CURRPERSUB6>Sep 2006</CURRPERSUB6>
    <VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
    <CURRPERSUB7>Aug 2006</CURRPERSUB7>
    <VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
    <CURRPERSUB8>Jul 2006</CURRPERSUB8>
    <VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
    <CURRPERSUB9>Jun 2006</CURRPERSUB9>
    <VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
    <CURRPERSUB10>May 2006</CURRPERSUB10>
    <VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
    <CURRPERSUB11>Apr 2006</CURRPERSUB11>
    <VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
    </PERCENT_ROW>
    <PERCENT_ROW>
    <YEAR>2007</YEAR>
    <PERIOD>3</PERIOD>
    <MATERIAL_TYPE>C</MATERIAL_TYPE>
    <BRANCHDESC>Spanish Fork</BRANCHDESC>
    <LOCATION>35</LOCATION>
    <QUARTERDESC>Quarter 1</QUARTERDESC>
    <CURRPERIOD>Mar 2007</CURRPERIOD>
    <VALUECURRENTPERIOD>7.7</VALUECURRENTPERIOD>
    <QUARTERVALUE>10.2</QUARTERVALUE>
    <YTDVALUE>10.2</YTDVALUE>
    <STDCURRENTPERIOD>-6016.2</STDCURRENTPERIOD>
    <VARIANCE_STD>-6023.9</VARIANCE_STD>
    <VARIANCE_STD_PERCENT>100.1</VARIANCE_STD_PERCENT>
    <CURRENT_12MMA>10.23</CURRENT_12MMA>
    <PRIOR_12MMA>0</PRIOR_12MMA>
    <CURRPERSUB1>Feb 2007</CURRPERSUB1>
    <VALUECURRENTPERIODSUB1>14.9</VALUECURRENTPERIODSUB1>
    <CURRPERSUB2>Jan 2007</CURRPERSUB2>
    <VALUECURRENTPERIODSUB2>8.1</VALUECURRENTPERIODSUB2>
    <CURRPERSUB3>Dec 2006</CURRPERSUB3>
    <VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
    <CURRPERSUB4>Nov 2006</CURRPERSUB4>
    <VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
    <CURRPERSUB5>Oct 2006</CURRPERSUB5>
    <VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
    <CURRPERSUB6>Sep 2006</CURRPERSUB6>
    <VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
    <CURRPERSUB7>Aug 2006</CURRPERSUB7>
    <VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
    <CURRPERSUB8>Jul 2006</CURRPERSUB8>
    <VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
    <CURRPERSUB9>Jun 2006</CURRPERSUB9>
    <VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
    <CURRPERSUB10>May 2006</CURRPERSUB10>
    <VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
    <CURRPERSUB11>Apr 2006</CURRPERSUB11>
    <VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
    </PERCENT_ROW>
    </DATA>
    Note that each Branch_Desc has 12 periods called CURRPERIOD,CURPERSUB1,CURPERSUB2 ...... and 12 values for those periods as VALUECURRENTPERIOD, VALUECURRENTPERIODSUB1, VALUECURRENTPERIODSUB2......
    I need to create a Line Graph for each Branch for the 12 periods as defined above where VALUECURRENTPERIOD, VALUECURRENTPERIODSUB1 etc. are the values for that period. The current BIPublisher Chart tool only allows one Value and One Label. In my case I have 12 VALUES (VALUECURRENTPERIOD etc.) and 12 LABELS (CURRPERIOD, CURPERSUB1 etc.). The SERIES or LEGEND should be the Branch Desc . So what I am looking for is to plot values(12 values) for 6 branches (so six lines) over a period of time (12 periods).

    Hi Tim,
    We have this XML data calculated from several tables where the layout was in the format of One account(a Branch in this case) and 12 periodic values for the same . So reformatting the XML is not going to be easy as the source data is like this itself. I tried un-pivioting the table (as this one is already pivoted) but it looks like Oracle doesn't support this feature yet, but is suported in DB2 or SQL. Please take a look at this link
    http://blogs.ittoolbox.com/database/technology/archives/unpivot-query-12798?close=true
    So I am stuck with the data in this format and users want a line graph for each branch over he period of time. May be somone on this forum can figure out how to un-pivot a table in Oracle. Thanks for your help in advance.

  • Help with jfree regarding plotting multiple lines in a line graph

    hi,
    i have
    < time>
    < volume>
    i have sucessfully used this data to plot a line graph(1 line)
    now i have
    <time> <time2>
    <volume> <volume2>
    how do i put this values into a single line graph? that means, i will have a line graphs with 2 lines.
    Help appreciated. Thanks Alot

    any help? still need help. thanks

  • Help creating a simple line graph

    Hi
    Im very new to the Java language, yet have some background knowledge of C and C++.
    i have a problem with an application i am developing for a university assignment, the program is to simply simulate a water pressured nuclear reaction. the main JFrame holds various JLabels that show the current core temperature, electricity produced etc. But i want to add a very simplistic line graph to the same window, it is to purely show a line that updates (no axis or labels). The graph is to illustrate how much electricity was produced on the current cycle of the reactor, the user can initiate each cycle by pressing a JButton.
    i have found some info on drawing, but cannot find anything that helps.
    Any info on how to do this (its only meant to be a samllish part of the main window), any code examples or sites that have a very relevant tutorial would be appreciated.
    Sorry for the length of this, and if anyone needs any more info on this then let me know.
    thanks

    Cross posted,
    http://forum.java.sun.com/thread.jsp?forum=54&thread=394494&tstart=0&trange=15

  • Help please, I need a line graph from a chart with existing data.

    I am trying to put together a form for tracking my weaight loss. I have decided on a format that I like, but I can't figure out how to create a line graph to represent the chart that collects the data. The graph will need to begin with the "start weight" and track all chages throught the 42 cells until the final "net loss."
    Does anyone know how to set this up as a line graph? Your help would be much appreciated, thank you in advance.

    Skipping ahead and assuming I picked the correct direction then i have a possible solution:
    You need to get the weight loss numbers into a single column. If the table of 42 cells is called Table 1 and the table with the start weight is Table 2 and we call our new table Table 5:
    Cell B2 of Table 5 = Table 2::A2
    Cell B3 of Table 5 =B2+OFFSET(Table 1 :: $B$2,MOD(ROW()-3,7),QUOTIENT(ROW()-3,7))
    Fill down with that formula

  • CR 9 - Need HELP Setting Line Graph colors in the Chart Expert

    Post Author: desselle
    CA Forum: Charts and Graphs
    Hello,
    I created a Crystal Report (CR) based off an existing Trend Analysis report. I have created a VB6 application that calls the .RPT file I created for the report in CR.  The VB6 app sets the report recordset via code that corresponds to the .TTX file, and the parameters .  The report contains a Line graph that plots five pieces of data.  The report & graph work good.  The Problem: CR determines the color of each line on the graph.  However, I need to set the color for each line to correspond to the colors used on our existing reports.  The users are accustom to a certain color representing a certain set of data on the existing reports.   I have tried everything I can think of and from all documentation I can find, and nothing changes the line colors.   I have tried all of the following:
    1.) From the Chart Expert, Option tab, I click the Format button next to Color and setup conditional color settings per each piece of data.   However, when I run the report these conditional color settings are not reflected on the CR graph.     I am using formula fields (based off database fields in the recordset) to produce the report.  However, I only see the database fields to use in the conditional color formatting screen and not the formula fields.    I thought this would possibly be the cause why the colors wonu2019t change on the CR, but I canu2019t find a way to make the formula fields show up in the list.
    2.)Also, I tried right clicking the individual lines of the graph and change the selected item color, but this didnu2019t change the color either.  I do this in Design mode and Preview mode and neither one changes the color of the lines on the graph.
    3.)I have also looked into the CR object model to see if I can change the line colors of the graph via code and it doesn't look like I am given this flexibility.
    Do you know what I am doing wrong here?   I just want to be able to set the color of each line on the CR graph to the color I want instead of using the default colors.  Are there some Hot Fixes that I need to apply to my copy of CR?
    Thanks

    Post Author: desselle
    CA Forum: Charts and Graphs
    Hello,
    I got the problem fixed w/ the line graph not making the data lines the same color on the report as on the frmPlot graph.   Compare the two screen shots below.   The problem was as follows:  When I created the graph (in the Chart Expert) the field u201CReadingDateu201D was not one of the Report Fields, and all the other fields were Report Fields (Reading, LowAlarm, UpperAlarm, LowerLimit, & UpperLimit). See the 3rd screen shot below.  ReadingDate does show up as a Report Field now but it wasnu2019t at first.   Originally, this field was only available in the Chart Expert as a recordset field.  When I changed this field to be a Report Field, the graph then allowed me to change the data series line colors.   This was not obvious at all.   From the beginning when I setup the graph and passed in the recordset from VB it graphed all of the data series fine.   The colors that the Chart Expert chose for each line just didnu2019t match what was on the frmPlot graph.   Anyway, it is working now.     I can at least say I learned (somethingu2019s to-do and somethingu2019s not to-do) a good bit about Crystal Reports in the process.
    Thanks

  • Line graph for population(billions)  and years HELP!

    I have a homework assignment, and I need to use a line graph, to graph the stats below. When I try and do this in Numbers it is giving me one line for the year and one line for population. What I want is ONE line going from 0.3, 0.31, 0.5... but I want those numbers on the graph to match up with the corresponding year, so those numbers would go with 1000, 1250, and 1500.
    If someone could provide step by step instructions I would really appreciate it.
    Thanks,
    Brandon
    Year Population (billions)
    1000 0.3
    1250 0.31
    1500 0.5
    1750 0.79
    1800 0.98
    1850 1.26
    1900 1.65
    1950 2.52
    1960 3.02
    1970 3.7
    1980 4.44
    1990 5.27
    2000 6.06
    2010 6.79
    2020 7.5
    2030 8.11
    2040 8.58
    2050 8.91

    To achieve that, the column containing the year values must be a header one or the cells must be formatted as TEXT.
    Yvan KOENIG (from FRANCE lundi 9 février 2009 12:00:59)

  • Help me with a simple line-graph, plzzzzzzzz.

    hi!
    can anyone give me the basic java code to create a simple line graph for my java program output.
    thanks a lot in advance.
    cheers!

    Have a look at the Graphics.drawPolyline() method.
    kind regards,
    Jos

  • Line Graph problem plz help :(

    Problem fixed
    Message was edited by:
    bm_za

    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.

  • 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

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

  • Printing a Line Graph in SAP

    Hi Experts,
    Can anybody tell me how to print line graph in SAP. I do not want use ALV print function for graph generation.
    Here I am attaching you sample program for your reference. Name of the program is GFW_PROG_PRES_SHOW_MULT.
    Thanks in Advance.
    Regards,
    Shaik.

    Hi Meera,
    you can use FM "GRAPH_MATRIX_3D' to print graphs. See if this works out good for your.
    Simple code to use this would be as follows.
    DATA: BEGIN OF itab_data OCCURS 0,
    dataname(15),
    quantity1 TYPE i,
    quantity2 TYPE i,
    quantity3 TYPE i,
    END OF itab_data,
    BEGIN OF itab_options OCCURS 0,
    option(20),
    END OF itab_options.
    itab_data-dataname = 'Electricity'.
    itab_data-quantity1 = 55.
    itab_data-quantity2 = 62.
    itab_data-quantity3 = 59.
    APPEND itab_data.
    itab_data-dataname = 'Gas'.
    itab_data-quantity1 = 35.
    itab_data-quantity2 = 52.
    itab_data-quantity3 = 44.
    APPEND itab_data.
    itab_data-dataname = 'Water'.
    itab_data-quantity1 = 18.
    itab_data-quantity2 = 22.
    itab_data-quantity3 = 19.
    APPEND itab_data.
    CALL FUNCTION 'GRAPH_MATRIX_3D'
    EXPORTING
    col1 = 'Jan'
    col2 = 'Feb'
    col3 = 'Mar'
    titl = 'Gráfico Teste - Carlos'
    TABLES
    data = itab_data
    opts = itab_options
    EXCEPTIONS
    OTHERS = 1.
    Hope this helps.
    Thanks
    Sumit

  • BI Publisher 11g. Plotting multiple lines in a line graph

    Hi,
    We have a requirment where we need to show multiple lines in a line graph. I have gone through the earlier posts for this topic but when I am following the same steps I am not able to resolve the problem.
    I have 3 mterics: Month (which will be X-axis) , Size (Which will be on y-axis) and Name. I have names for 10 tables and i want to display 10 lines in my line graph.
    In the chart generator, I am using Month in "Labels", Table name for "color" field" and size in the "values" section.
    When I am trying this I am geting the following error in chart generator. It says " The data required 2 columns. The data has only 1 column." To trick the system, I also put a dummy column with static value of 1, but then also i am getting the same error, that it requires 2 columns.
    the sample XML for the chart is like this:
    <G_2>
    <TABLE_SIZE_TRENDS>43.90832000000001</TABLE_SIZE_TRENDS>
    <TABLE_NAME>Table1</TABLE_NAME>
    <MONTH_NAME_TRENDS>April</MONTH_NAME_TRENDS>
    </G_2>
    - <G_2>
    <TABLE_SIZE_TRENDS>69.62872</TABLE_SIZE_TRENDS>
    <TABLE_NAME>Table2</TABLE_NAME>
    <MONTH_NAME_TRENDS>April</MONTH_NAME_TRENDS>
    </G_2>
    It looks pretty straightforward but I am stuck in it for quite some time now.
    All your guidance is greatly appreciated in this regard.
    Regards,
    Aakarsh

    any help? still need help. thanks

Maybe you are looking for

  • Doc. Status value in SAP R/3 is not available

    Hi experts, I tried to extract Document Status (BSTAT) field from SAP R/3. The table is BKPF and whenever I tried to view the content of this table through SE11 > Database Table: BKPF > Display > Contents > Execute I am able to see some rows with BST

  • ANN: XML Parser for Java Version 2.0.2.4

    Oracle announces the release of version 2.0.2.4 of the XML Parser for Java now available for free download on the Oracle Technology Network. This version features an integrated XSLT Processor that is compliant with the recently released W3C XSLT 1.0

  • Unlocked third party purchase

    I purchased a unlocked samsong galaxy s3 neo/gt19300i from a third party and it came without a sim card will I beable to take to att store and have it added to my account?

  • Saving slices with a fixed prefix of choice

    [Edit: I just discovered a wonderful Batch Rename option in Bridge, so this is a good workaround for me] I have a file with many slices. The file has several layer comps and they just change the color cast with hue-sat adjustment, so they are named "

  • Flash Fullscreen Size Problem

    So, call me ridiculous, but I use 64 bit software whenever possible because I have a 64 bit OS with 64 bit CPU cores. Naturally, then, I use a 64 bit web browser: Firefox (nightly). This means I need a 64 bit version of flash which is still in a horr