How to combine a bar with a line in a chart

Post Author: rbcdexia
CA Forum: Charts and Graphs
We want to combine data in bars and with a line showing in one chart.
Is that possible? How do you configure your chart?
The line and the bars are based on the values from different fields in the same table.

Post Author: pareshb
CA Forum: Charts and Graphs
We are using Crystal Reports for Visual Studio 2005. Can you please let me know how to combine a bar with a line chart.
Thanks in advance.Paresh

Similar Messages

  • How to draw a bar with Gradient Color ?

    Hi,
    How to draw a bar with Gradient Color ? I see
    in Java Help about GradientPaint, maybe this
    can help ?
    Thanks in advance,
    Michael

    Try to use this in you paint method :
    public void paint(Graphics g)
    Graphics2D g2D = (Graphics2D) g;
    // Get the height & width
    int width = this.getWidth();
    int height = this.getHeight();
    // Create the gradient paint
    gradientPaint = new GradientPaint(0,0, Color.blue, width, height, Color.red);
    g2D.setPaint(gradientPaint);
    g2D.fillRect(0,0, width, height);

  • I've been advised by Firefox to download a software update, but upon downloading, the bar with green lines running across it with the message 'Connecting to the update server' is just going on indefinitely; can you advise on this?

    I was advised by Firefox to download and install an important software update. But the bar with green lines running across and saying 'connecting to the update server is going on indefinitely (about an hour now). Can you advise?
    With Thanks,
    Martin

    Remove the files in the updates and updates\0 folder.<br />
    You may need to delete active-update.xml and updates.xml as well if present.
    XP:
    C:\Documents and Settings\&lt;user&gt;\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates
    (%USERPROFILE%\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox)
    * http://kb.mozillazine.org/Software_Update (Software Update not working properly)
    If you have problems with updating then best is to download the full version and uninstall the currently installed version.<br />
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • How to combine looping column with calculated column

    Dear Gurus,
    I have a report that contains number of sale items in each plant. And plant (0PLANT) is a master data. I have to calculate Accumulate Total as below:
         Plant                         
    Date     Mall 6     Pinklao     Siam     Mini L/P     Total     Acc. Total
    1     135,260     186,170     103,833     145,636     570,899     570,899
    2     32,043     22,772     29,587     19,098     103,500     674,399
    3     49,477     48,919     20,206     23,587     142,189     816,588
    4     33,937     32,399     30,520     30,710     127,566     944,154
    In the column section, I have put the Quantity under Key Figure Structure and put Plant upper the it, so I get the result as below
         Plant                    
    Date     Mall 6     Pinklao     Siam     Mini L/P     Total
    1     135,260     186,170     103,833     145,636     570,899
    2     32,043     22,772     29,587     19,098     103,500
    3     49,477     48,919     20,206     23,587     142,189
    4     33,937     32,399     30,520     30,710     127,566
    I have no idea how can I put the Acc. Total to the report. Please suggest me for this issue. I'm so new for BW.
    Thanks in advance
    Edited by: Sukanya Nawnaung on Apr 24, 2008 6:04 AM

    Not knowing your tables I do not know the answer as it is not obvious from your scripts what the join between the two data sets would be??
    If you can tell me that then you can easily combine the two with an in-line view or using the new WITH... syntax.
    Otherwise, I see that the only difference between the two joins is;-
    1st WHERE DR_ACC = DECODE(DR_ACC,*'TXN'*,DR_ACC)
    2nd WHERE DR_ACC = DECODE(DR_ACC,*'OFS'*,DR_ACC)
    If you make this (don't understand the need for the decode, why is it here?!); -
    DR_ACC in ('TXN','OFS')
    And then use a case statement if you need to seperate out your two pairs of columns; -
    case when DR_ACC = 'TXN' then TXN_BRANCH else null end as "Transaction Branch" (repeat principal for other 3 columns)
    case when DR_ACC = 'OFS' then A.OFS_BRANCH else null end as "Offset Branch", (repeat principal for other 3 columns)
    Make sense?
    regards,
    Robert.

  • Apex 3.2 SVG Chart - How to plot Stacked Bar With Negative Values ?

    Currently Apex 3.2 Flash Chart (AnyChart 3.x) does not support Stacked bars with negative values.
    I try with SVG Stacked bars with positive values only, chart ploting works fine. When I add a new series with negative values (i.e -1) and I get a blank Chart region with no error.
    Based on this statement from Apex's documentation:
    *"AxisLine Indicates zero on charts that have negative values."*
    I appreciate your help on how to translate this statement into action ?
    (i.e how to override .Axisline class in CSS section ?)
    Thank you very much for your time.

    User614143,
    try to add the minumm negative value (but positive) to the parameter for the axis.
    e.g. show value+3000 (assuming -3000 is the minimum value)
    If you don't have a limitation for the negative values, it doesn't work. (or try to calculate first the most negative value in a before header process)
    hope this helps.
    Leo

  • How to use magic move with connection lines?

    When I use magic move with connection lines, they disappear and reappear in the next slide. It seems like magic move doesn't recognize the connection lines (or can't match them), so it just redraws them, instead of leaving them there.
    I'm trying to use magic move to make a nice presentation that includes connection lines. How can I make without the lines disappearing every time something moves?

    Group the shapes and connection line together:
    select the objects then Arrange > Group (alt Command G)

  • How to align navigation bar with banner?

    Hi i need to align my navigation bar with my banner how can i do this?
    i have attached a picture of how it looks in chrome 1280x1024
    I used Anthony Marchese's guide to do it (http://www.youtube.com/watch?v=l-wuwsZQTl0) but it will not align ive tried everything!!
    also how can i resize a div??
    please help??
    Thanks,
    Gershy14

    THIS IS MY MAIN CODE.
    1  <!doctype html>
    2  <html>
    3  <head>
    4  <meta charset="utf-8">
    5  <title>MusicAtTheD's - the home</title>
    6  <link href="css/styles.css"rel="stylesheet"type="text/css">
    7  <style>
    8
    9
    10  #body {background-image:url(images/washedddd.jpg);background-repeat:no-repeat;background-positi on:center center;
    11  background-attachment:scroll;
    12  }
    13
    14  #navbarOFF li {
    15  font:17px Arial;
    16  display:inline;
    17  list-style-type:none;
    18
    19    }
    20  #navbarOFF a {
    21  background-color:#09F;
    22  color:#fff;
    23  text-decoration:none;
    24  padding-top:15px;
    25  padding-right:28px;
    26  padding-bottom:15px;
    27  padding-left:28px;
    28
    29    }
    30  #navbarOFF a:hover {
    31  background-color:#F90;
    32  color:#666;
    33
    34    }
    35  body {
    36  background-image:url(images/washedddd.jpg);
    37  background-repeat:no-repeat;
    38  }
    39  </style>
    40  </head>
    41
    42  <body bgcolor="#999999"leftmargin="70"
    43  " topmargin="50">
    44  <div id="header"> <img src="images/websitefinalll.jpg" alt="banner" width="752" height="161"></div>
    45  <nav>
    46  <div id="navbarOFF">
    47  <div align="center">
    48  <ul>
    49  <li><a href="#">the home</a></li>
    50  <li><a href="#">the boys</a></li>
    51  <li><a href="#">the gang</a></li>
    52  <li><a href="#">the studio</a></li>
    53  <li><a href="#">the band</a></li>
    54  <li><a href="#">the music</a></li>
    55  </ul>
    56  </div>
    57  </div>
    58  </nav>
    59
    60  </body>
    61  </html>
    62
    CSS SHEET
    1  #body {
    2  background-image:url(images/washedddd.jpg);
    3  background-repeat:no-repeat;
    4  background-position:center center;
    5  background-attachment:scroll;
    6  }
    7  #header {
    8  height:160px;
    9  width:800px;
    10  margin-left:auto;
    11  margin-right:auto;
    12
    13  }

  • How to combine swm file with powershell

    hi,I get strucked in "combining swm file with powershell",
    there are two swm file in my volume D ,when i use the command "Export-WindowsImage -SourceImagePath D:\t.swm  -SplitImageFilePattern D:\t*.swm -DestinationImagePath G:\install.wim -SourceIndex 1"
    it told me:"file exited,you can't create this file".
    but when i used dism /apply-image command it works well.
    i tried the command "export-windowsimage",but not succeed.

    no,do you have any solution?
    I think ,er,it may be a bug .
    if you try the expand  of "expand-windowsimage " in powershell.you will find it still not work

  • How to combine update stmts with different filters and multi-columns?

    Hi,
    I found these following update stmts in one of our long running jobs. I'd like to see if it is possible to combine it in one update or merge stmt so I can reduce the scan time on the same table from 4 times to 1 time. But I'd need some expert suggestions for how to do that. Here are the stmts:
    UPDATE table1 c
    SET (polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,valid)=(SELECT DISTINCT polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,'A'
    FROM table2 v
    WHERE v.polnum=c.pol# AND
    v.polren=c.ren# AND
    v.polseq=c.seq# AND
    v.vehnum=c.veh#)
    WHERE c.polnum IS NULL;
    UPDATE table1 c
    SET (polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,valid)=(SELECT DISTINCT polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,'B'
    FROM table2 v
    WHERE v.polnum=c.pol# AND
    v.polren=c.ren# AND
    v.polseq=c.seq# AND
    v.mainveh='Y')
    WHERE c.polnum IS NULL;
    UPDATE table1 c
    SET (polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,valid)=(SELECT DISTINCT polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,'C'
    FROM table2 v
    WHERE v.polnum=c.pol# AND
    v.polren=c.ren# AND
    v.polseq=0 AND
    v.mainveh='Y')
    WHERE c.polnum IS NULL;
    UPDATE table1 c
    SET (polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,valid)=(SELECT DISTINCT polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,'D'
    FROM table2 v
    WHERE v.polnum=c.pol# AND
    v.polren=0 AND
    v.polseq=0 AND
    v.mainveh='Y')
    WHERE c.polnum IS NULL;
    Table1 has 800000 rows, Table2 has 200 million rows. In table1, about 12.5% rows has a null polnum, so 12.5% data will be updated.
    Thank you in advance with all your suggestions!

    the reason I never specified the joins is because I thought the joins were there to derive the Valid indicator, in which case they are not required if you are using the CASE statement. The join, "V.Polnum = C.Pol#" is still required as this is across all rows! If that is the case, then it can be simplified even more so;
    update   Table1 C
    set      (Polnum,Polren,Polseq,Vehnum,Compgrp,Prodgrp,Uwsys,Comp,State,Prod,Rrdate,Brand,Agycode,Agyclass,Valid) =
                ( select   distinct Polnum
                                   ,Polren
                                   ,Polseq
                                   ,Vehnum
                                   ,Compgrp
                                   ,Prodgrp
                                   ,Uwsys
                                   ,Comp
                                   ,State
                                   ,Prod
                                   ,Rrdate
                                   ,Brand
                                   ,Agycode
                                   ,Agyclass
                                   ,case
                                      when (Polren + Polseq=0) and (Mainveh='Y') then
                                            'D'
                                      when (Polren=0) and (Polseq>0) and (Mainveh='Y') then
                                            'C'
                                      when (Polren>0) and (Polseq>0) and (Mainveh='Y') then
                                            'B'
                                      when (Polren>0) and (Polseq>0) and (Mainveh!='Y') then
                                            'A'
                                    end as Valid
                 from      Table2 V
                 where     V.Polnum = C.Pol#
    where    C.Polnum is null;However if you are returning more rows than what you are expecting from the above update statement because the joins are being used to limit the data as well, then this might be more appropriate:
    update   Table1 C
    set      (Polnum,Polren,Polseq,Vehnum,Compgrp,Prodgrp,Uwsys,Comp,State,Prod,Rrdate,Brand,Agycode,Agyclass,Valid) =
             ( select v2.PolNum
                   ,v2.Polren
                   ,v2.Polseq
                   ,v2.Vehnum
                   ,v2.Compgrp
                   ,v2.Prodgrp
                   ,v2.Uwsys
                   ,v2.Comp
                   ,v2.State
                   ,v2.Prod
                   ,v2.Rrdate
                   ,v2.Brand
                   ,v2.Agycode
                   ,v2.Agyclass
                   ,case
                      when (v2.Polren + v2.Polseq=0) and (v2.Mainveh='Y') then
                            'D'
                      when (v2.Polren=0) and (v2.Polseq>0) and (v2.Mainveh='Y') then
                            'C'
                      when (v2.Polren>0) and (v2.Polseq>0) and (v2.Mainveh='Y') then
                            'B'
                      when (v2.Polren>0) and (v2.Polseq>0) and (v2.Mainveh!='Y') then
                            'A'
                    end as Valid_Flag
                ( select   distinct Polnum
                                   ,Polren
                                   ,Polseq
                                   ,Vehnum
                                   ,Compgrp
                                   ,Prodgrp
                                   ,Uwsys
                                   ,Comp
                                   ,State
                                   ,Prod
                                   ,Rrdate
                                   ,Brand
                                   ,Agycode
                                   ,Agyclass
                                   ,Mainveh
                 from      Table2 V
                 where     V.Polnum = C.Pol#
                 ) v2
             where (v2.Polren = C.Pol# or v2.Polren = 0)
             and   (v2.Polseq = C.Seq# or v2.Polseq = 0)
    where    C.Polnum is null;As before, both remain UNTESTED!

  • How to run labview exe with command line

    I would like to launch a labview exe with a command line.
    I would like to get advice how to launch the Labview exe with giving values to the control parameters?
    You can view the example where x,y are the controls
    Solved!
    Go to Solution.
    Attachments:
    exe.png ‏65 KB

    There is a much more detailed guide here, which I reference below:
    1. First you will enable it in the settings:
    1. Open the properties for the application's build specification
    2. Navigate to the Advanced category
    3. Check the Pass all command line arguments to application box
    To pass the command line arguments to the application and access them in your code follow the same steps as for LabVIEW 7.x.
    2. Then you will use two hypens (--) to pass command line arguments to the VI. 
    When you launch LabVIEW or a stand-alone executable from the command line, you can pass user-defined arguments to the application. User-defined arguments start after two hyphens (– –) surrounded by spaces in the command line. For example, the following command line entry will launch LabVIEW 7.1 and open test.vi from the root of C:\ and pass 2 arguments, 1000 and sine:
    "C:\Program Files\National Instruments\LabVIEW 7.1\LabVIEW.exe" "C:\test.vi" –– 1000 sine
    You can also pass a command line argument directly to an EXE without launching LabVIEW, as long as the machine has the appropriate Run-Time Engine and necessary drivers.  For example, if test.vi was built into an executable, it could be called as follows:
    "<build directory>\test.exe" –– 1000 sine
    3. Lastly, you will use a property node to wire them to your controls:
    LabVIEW passes the arguments from the command line to the block diagram of the VI or EXE you launch. You can reference the arguments in the block diagram by using the Application:Command Line Arguments selection in a property node, as shown below.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If someone helped you out, please select their post as the solution and/or give them Kudos!

  • How do I eliminate text with black lines through the words

    I am using Firefox 14.0.1 on Linux Ubuntu 11.04.
    I am getting black lines through the text on some web sites. Mostly Google. How do I eliminate the lines.

    A few other basic trouble shooting things you can try is this:
    Run all Windows Updates, install all needed service packs, etc.
    Update your graphics driver (Firefox uses your graphics card for some rendering, and an out of date graphics card driver can cause problems. [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Update all your plugins (Flash, Java, etc.): [http://www.mozilla.org/plugincheck/ http://www.mozilla.org/plugincheck/].
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]. This helps check that there are no viruses on your computer causing issues. You can uninstall this program after you clean off any infections.

  • How to input FI invoice with many line items using FB60

    Dear All,
    Currently the users are posting document consisting of 500 to 700 line items every period using transaction FB60. The line items that are posted every period are not repetitive in nature. It is consuming lot of time.
    Is there any efficient (simpler) way of posting the document with so many line items? could you please share your thoughts in this regard?
    Thanks & Regards
    Vasu

    Hi Vasu,
    Try to do a recording for a BDC program with Tcode SHDB.
    Then ask your ABAPer to developa program with this BDC recording.
    This will fix the purpose.
    Thanks,
    Srinu.

  • How to handle text files with Header lines

    Hi,
    Eventhough the number of header lines is specified, when I do Reverse to get columns, its considering only header line.
    I have file format like
    ffserver started.
    192.168.11.30 - - [Fri Apr 20 19:28:01 2007] "GET /robots.txt HTTP/1.1" 404 150
    192.168.11.30 - - [Fri Apr 20 19:28:02 2007] "GET /V23WASTINGPETROL HTTP/1.1" 200 310
    first line is header line and there are spaces within a field value, and the field separator also is space.
    regards,
    Vivek

    in this scenario of urs ,ur file has multiple delimiters like -- and spaces.
    in this case u need to convert the file in a file with single delimiter .
    this can be done by writing a code in java in ODI procedures.
    once you have the same delimiter all over the file.
    u can extract multiple headers using typical Procedure

  • How to create text box with multiple lines in selection screen.

    Hi,
    i need to create a text box to capture comment with 300 characters. i want to achive this without using module pool,is there any posibilities to that
    regards
    raja

    Since text on Report screens is limited basically to what's left on a line in the selection screen, you'll have to use Module Pool.
    however, you can call a screen from a report program and use the editor within a Custom Control on the screen.  Not a tough thing to do.

  • How to combine sql.Date with sql.Time into one?

    I have a database where I keep dates and times separately, and getting date only and time only out of a java.util.Date is no problem thanks to the classes java.sql.Date and java.sql.Time. However, I need to read these values back in, put them back together, and then do date comparisons with java.util.GregorianCalendar. I tried just adding the millisecond long values together but that didn't seem to work, and I've tried setting the year, month, date, hours, minutes and seconds individually into a GregorianCalendar but I haven't figured that out yet. Certain queries work out better keeping the date and time separate in the database and it takes less bytes than a timestamp, so please don't suggest I use a timestamp!
    Thanks for your help!
    Stephen

    You can add the milliseconds (ms), but you need to use just part of it. For this example, let X be one more than the maximum number of units in time and also the minimum number of units in date. If we were using hours instead of ms X would be 24.
    t = total ms from time
    d = total ms from date
    T = new combined time
    T = ((d / X) * X) + (T % X);Add (the date, rounded to the nearest day) and (the portion of time which is less than a day).

Maybe you are looking for

  • K9N4 SLI - Lack of 125W CPU Support

    Hello, Just wondering why does this board not support any 125W CPU's? I was looking at getting one of these boards to throw in a 6000 X2 but according to the website, this board only supports the 89W version, which is unavailable where I am. I've see

  • Backing up 3rd party apps with Time Machine

    After what started out as a simple question...why won't my iChat stay connected now that i have installed OS Lion and spending over 2 hours with Apple Phone support and trying all the known trouble shoots, they told me the only thing I can now do is

  • Bridge CS6 Launch Error

    Will try this once more: Am on IMAC OS10.7.3 Have Photoshop CS5. All updates are current with both companys. I have down loaded and uninstalled CS6 three times, Have used Apple time machine to restore all settings to a day before initial down load. H

  • Nokia 5310 headset problem

    my 3days old 5310 cant seem to play music in it's headset.. but whenever i put on the jack(HS-45) to it's socket. the 5310 detects it but without a sound coming out in FM or My Saved files(mp3,wma). what should i do?? is there anything to enable the

  • SQL Server Provisioning

    We are having IDM provision an de-provision our over 10 SQL servers. Each server contains around 50 databases. When we set up server, on the account attributes mapping page, we need add userName[dbname], roles[dbname],selected[dbname] attributes for