Want to put horizontal lines on bar chart.

I want to put horizontal lines across groups of bars in a bar chart depending on the mean or median. So every group of bars in a bar chart will have a line across them and their position will depend on the values of mean or median. 
Thanks

I really don't know. I don't have LV open in front of me. Look at the examples (Help>>Find Examples). Read the help. Play with it yourself - create a small VI with a chart and a loop and see what happens when you bundle values or build arrays.
Try to take over the world!

Similar Messages

  • How to plot line and bar chart in one graph

    i have one graph, but in this graph i want to plot line or bar chart using radio button selection.
    can i do that...

    You must have 2 data arrays or plots to get this. Make sure your plot legend is visible. Drag the plot legend vertical borders to view both plots. Select one of the plot to be bar plot (See the attachment)
    Attachments:
    BarPlots.PNG ‏14 KB

  • How to draw a straight  dotted line on Bar chart at 70%?

    Hi
    Could you please let me know how to draw a straight dotted line on BAR CHART at 70%?
    Thank you

    Hi,
    This may vary depending on what version of crystal you are using.
    Right click on the graph & go to 'chart options' & choose 'Grids'
    In the grids pane go to the grids tab.  From there check the 'draw custom line at' and specify where you want to draw the custom line.
    Once the line is drawn highlight the line, right click and go to 'chart options' & 'selected item'.
    select what format you want the line to look like (choose the dashed one).
    good luck!

  • Seek 2D Line and Bar Chart Graphs HOWTO

    Can anyone share with me on where I could obtain/teach
    me how to write 2D Line and Bar Chart Graphs ?
    I like the class/program to be called from java code and not
    from command prompt to plot points or bar graphs.
    Please, no vendor recommendations.
    I dont have the $ to purchase.
    Any help is appreciated.
    Thanks

    I checked the web site of JFreeChart and its document
    says to get premium service, it requires $.
    I dont really have the $ to purchase that software.
    It's a vendor product!Just to clarify, JFreeChart is free software, it is licensed under the GNU LGPL. You get the complete source code, including lots of demos, Javadoc HTML pages, an install document in PDF format, and access to the support forum for absolutely no charge. You don't have to pay a fee to unlock special features in the software, everything is there in the free download.
    As a way of funding the project, we sell a JFreeChart Developer Guide which includes a lot more information about using JFreeChart. But it is only the documentation we sell, not the software.
    Hope that helps,
    Dave Gilbert
    JFreeChart Project Leader
    http://www.object-refinery.com/jfreechart/index.html

  • Draw a Horizontal target line on bar chart

    I am trying to reach out to crystal report gurus for the following problem, I am relatively new with crystal reports and would really appreciate if you could provide a solution or point me in the rite direction.
    I am working on a project which requires to show various charts on an .aspx page. (.net 2.0).  I am using CR10.2.36, the one that comes with VS2005.
    My problem is I need to add a target line on a bar chart, e.g.
    I have (Y)years and (X)Examscores, I need to put a line (target line) on the Exam Scores.
        100%   |
    (X)Score  |
       45%
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _   (this is the target line I need to have)
                   |
            0%  |__________________________
                    2001          2002           2003
    now this target line should move up or down on click of a button or a .net slider control (which would be somewhere on the page).
    So I guess I need to add the target line to the bar chart programmatically after the chart loads.
    I am able to load the chart correctly but I am not able to think of a way to add the target line and there seems to be not a lot of help out there.
    I appreciate your time and help
    Thanks
    rohan

    (X)Score  
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _   (this is the target line I need to have)
                   |
                   |__________________________
                    2001          2002           2003
    just drew the graph again since it was not looking good above

  • For every line item, I want to write horizontal line.

    Hello experts,
    In the main window of my sapscript form, I am displaying multiple line items. What I want to do is write a horizontal line so what I did is this:
    /: SIZE WIDTH '75.0' CH HEIGHT '0' LN
    /: BOX FRAME 10 TW
    /: POSITION YORIGIN +1 LN
    I was having a problem yesterday as to why my &ULINE& is always shorter than the width of my MAIN window. So I am currently experimenting with BOX statement. But the problem is, I want to write it after every end of a line item. I placed the code above where the original &ULINE& was placed(inside the main window).
    Hope to hear from you guys. Thank you and have a nice day to all!

    Hi,
    Below is my code inside my MAIN window.
    MAIN
    /* Element /E set outside PROTECT statement
    Element POS_ZEILE
    /: PROTECT
    I1 ,,&MSEG-ZEILE&,,&MSEG-MATNR&,,&MSEG-ERFMG&,,&MSEG-ERFME&
    /: IF &MSEG-BWART& EQ 'Z75'
    =  ,,&MSEG-UMLGO&
    /: ELSE
    /:  IF &MSEG-BWART& NE '315'
    =  ,,&MSEG-LGORT&
    /:  ENDIF
    /: ENDIF
    /: IF NOT &MSEG-BWART& EQ '631'
    =  ,,&MSEG-CHARG&
    /: ENDIF
    /: IF &MSEG-BWART& EQ '631'
    =  ,,&KNA1-NAME1&
    /: ENDIF
    /: IF &MSEG-BWART& NE '631'
    /: IF &MKPF-TCODE2& NE 'MB01' AND &MKPF-TCODE2& NE 'MIGO_GR'
    I1 ,,&MSEG-WEMPF&
    /: ELSE
    I1 ,,&MSEG-EBELN&
    /: ENDIF
    /: ENDIF
    I2 ,,&MABDR-MAKTX&
    /: PERFORM GET_RCV_LOC IN PROGRAM ZSR_GOODS_TRANSFER_SLIP
    /: USING &MSEG-EBELN&
    /: USING &MSEG-EBELP&
    /: CHANGING &WA_KOSTL&
    /: ENDPERFORM.
    /: IF &MKPF-TCODE2& EQ 'MB1A' OR &MKPF-TCODE2& EQ 'MB1C' OR &MKPF-TCODE2& EQ 'MIGO_GI'
    /:   IF &MSEG-GRUND& EQ ''
    /*     IF &MSEG-BWART& EQ 'Z29'
    /* ,,</><TX>&MSEG-SGTXT(15)&</>
    /*     ELSE.
    =  ,,&WA_KOSTL&
    /*     ENDIF.
    /:   ELSE.
    =  ,,&MSEG-GRUND&
    /:   ENDIF
    /: ELSEIF &MKPF-TCODE2& EQ 'MB01' AND &V_REVRS& EQ 'Y'
    /:   IF &MSEG-GRUND& EQ ''
    =  ,,&WA_KOSTL&
    /:   ELSE
    =  ,,&MSEG-GRUND&
    /:   ENDIF
    /: ELSEIF &MKPF-TCODE2& EQ 'MIGO_GR' AND &V_REVRS& EQ 'Y'
    /:   IF &MSEG-GRUND& EQ ''
    =  ,,&WA_KOSTL&
    /:   ELSE
    =  ,,&MSEG-GRUND&
    /:   ENDIF
    /: ELSEIF &MKPF-TCODE2& EQ 'MB1B' AND &MSEG-BWART& NE '315'
    /:  IF &MSEG-BWART& EQ 'Z75'
    =  ,,&MSEG-LGORT&
    /:  ELSE
    /:   IF &MSEG-UMLGO& EQ ''
    =  ,,&WA_KOSTL&
    /:   ELSE
    =  ,,&MSEG-UMLGO&
    /:   ENDIF
    /:  ENDIF
    /: ELSEIF &MKPF-TCODE2& EQ 'MB1B' AND &MSEG-BWART& EQ '315'
    /:   IF &MSEG-LGORT& EQ ''
    =  ,,&WA_KOSTL&
    /:   ELSE
    =  ,,&MSEG-LGORT&
    /:   ENDIF
    /: ENDIF
    /: IF &MKPF-TCODE2& EQ 'MB1A'  OR &MKPF-TCODE2& EQ 'MIGO_GI'
    /:   IF &MSEG-KOSTL& EQ ''
    =  ,,&MSEG-EBELN&
    /:   ELSE
    /:    IF &MSEG-BWART& EQ 'Z29'
    =  ,,<TX>&MSEG-SGTXT(15)&</>
    /:     ELSE.
    =  ,,&MSEG-KOSTL&
    /:    ENDIF.
    /:   ENDIF
    /: ELSEIF &MKPF-TCODE2& EQ 'MB1B' OR &MKPF-TCODE2& EQ 'MB1C' OR &MKPF-TCODE2& EQ 'MB01'  OR &MKPF-TCODE2& EQ 'MIGO_GR'
    /:  IF &MSEG-BWART& EQ '323' OR &MSEG-BWART& EQ 'Z73'
    =  ,,&MSEG-GRUND&
    /:  ELSEIF &MSEG-BWART& EQ 'Z75'
    =  ,,&MSEG-GRUND&
    /:  ELSE
    /:    IF &MSEG-UMCHA& EQ ''
    =  ,,&MSEG-EBELN(10)&
    /:    ELSE
    =  ,,&MSEG-UMCHA(10)&
    /:    ENDIF
    /:  ENDIF
    /: ENDIF
    =  ,,&MSEG-KUNNR&
    /: IF &MSEG-BWART& EQ '601'
    /  ,,   &V_BEZEI&
    /: IF &V_MATGRP& EQ 'X'
    /: ENDIF
    /: ENDIF
    /: ENDPROTECT
    /: IF &V_SERIAL_NO& = 'N'
    /: SIZE WIDTH '75.0' CH HEIGHT '0' LN
    /: BOX FRAME 10 TW
    /: POSITION YORIGIN +1 LN     
    /: ENDIF
    Element SERNUM
    /: PROTECT
    /: IF &V_SERIAL_NO& = 'Y'
    /: IF &V_FIRST_NUM& = 'Y'
    /: IF &SERIAL_TAB-END& EQ &SPACE&
    SI ,,Serial Numbers:,,&SERIAL_TAB-START&
    /: ELSE
    SI ,,Serial Numbers:,,&SERIAL_TAB-START&,,-,,&SERIAL_TAB-END&
    /: ENDIF
    /: ELSEIF &SERIAL_TAB-END& EQ &SPACE&
    SI ,,,,&SERIAL_TAB-START&
    /: ELSE
    SI ,,,,&SERIAL_TAB-START&,,-,,&SERIAL_TAB-END&
    /: ENDIF
    /: ENDIF
    /: IF &V_FINISH& EQ 'Y'
    /: SIZE WIDTH '75.0' CH HEIGHT '0' LN
    /: BOX FRAME 10 TW
    /: POSITION YORIGIN +1 LN
    /: ENDIF
    /: ENDPROTECT

  • Wavy lines in bar charts after converting a Powerpoint to a pdf?

    After converting a Powerpoint file to a pdf, the bar charts have wavy lines.  The one thing I noticed is that the problem appeared when creating the pdf with Notes showing.  If Notes are turned off, then the bars are fine.
    Is there a solution for this?

    Version is Office 2007.
    OS is Windows 7.
    Viewer - I think it is Acrobat 9 Pro.
    When printing, the option to print notes is chosen.  If the option is just slides, the bars in the charts are normal.
    To create a PDF, the Powerpoint file is open --> then go to Print --> in the Print dialog box, change the printer name to Adobe PDF and print.

  • Horizontal line in column chart?

    I have a columnchart w/ a column series. I need to add a horizontal line that's y-value corresponds to a specific y-value on the columnchart. Can anyone help me out with this? An example would be greatly appreciated. Thanks...

    Flex includes the ability to add graphical elements to your chart controls such as lines, boxes, and elipses. Graphical children of chart controls can also include any control that is a subclass of UIComponent, including list boxes, combo boxes, labels, and even other chart controls.
    See this example:
    http://cookbooks.adobe.com/post_Drawing_a_horizontal_line_across_a_columnChart___-2041.htm l

  • Photoshop lighting effects puts horizontal line through image

    Apply filter > Lighting effects to an image (300 ppi RGB) and when photoshop renders the lighting, there is a horizontal line through the image. It is not a screen or video issue, it is in the image and has to be retouched out like corrupt image.
    not a transparency issue, tried different file formats, flattened image first, etc.
    WHY?
    Had this happen before, but now in Cloud V6 is really aggrevating. People have been posting about this for at least 3 versions with no answers.

    Moved from the Creative Cloud to the Photoshop forum. They will be able to help you here.

  • More than one line on bar chart

    I am creating a Line chart from a table.  The table includes a code column, date column, and several statistic columns. The dates are end of month dates only. There are about 10 different codes for each month.  The statisic columns are the totals for the month for each code.
    PeriodEndDate  Code  Statistic1 Statistic2 Statistic3 Statistic4
    XX/XX/XXXX     XX      999        999        999        999
    On my line chart I want to show one or more statistics for one year for a given code. (A line for each statistic)
    On a different report I want to show one or more codes for one year for a given statistic.  (A line for each code)
    The report has parameters for the code and the statistic. I have figured out how to create the chart for one code for one year for a given statistic.  Can any one help me out?
    Thanks,
    Fred

    Hello Fred,
    If you work with a multi-value parameter you could pass in a collection of x of 10 of your codes. I assume you have played with this idea?
    Perhaps you are stuck because there are no design-time options in the chart design wizards to base your line chart off the numerous values that could be passed into a single multi-value "code" parameter?
    If it is a limitation of the chart design options available to you then your only recourse may be to use one of the SDKs to massage data into a datatable which could be pushed to a report on the fly.
    Cheers, Dylan
    <p><strong>Dylan Lopez - </strong>604.628.4467 </p><p>Previously: Microsoft .NET Resource in Developer Support @ Business Objects</p><p>Currently: Principal @ Inno Software Inc / Independent Contractor Group</p>

  • Combination line and bar chart ?

    Hi,
    I would like to show a chart with 4 rows as bar and 1 row as line chart basically a combination chart?
    Is it possible in keynote/
    Thanks.
    SG

    Insert two charts on the slide, change one to line and keep the other as bar, change the colour so the line can be easily seen.

  • Fixed Line in Bar Chart

    Hi,
    I have a Chart that shows monthly values. Now, I would like to add a fixed line that shows the average of all values.
    How can I do that?
    Thanks, Johannes

    Hello Johannes!
    Please have a look into Kai Gutenkunst's blog: [/people/kai.gutenkunst/blog/2008/10/22/bi-chart-item-modifying-chart-settings-at-runtime|/people/kai.gutenkunst/blog/2008/10/22/bi-chart-item-modifying-chart-settings-at-runtime].
    There is only one disadvantage: you need BI 7.01 (EhP1).
    By default, you can only add a second line with a fix value.
    Yours,
       Tobias

  • Bar Charts with Non-Stacked Subgroups

    I'm trying to create a report in CR2008 for my elementary school principals that will display how many students received a specific grade each of the three marking periods (T1, T2, and T3) per grade level per subject area (Math, PE, etc.).  I was able to do this with a separate chart for each marking period, but would like to combine the charts into a single chart that has the grades (such as ADV, PRO, or BLB) across the bottom, and has the trimester scores as subgroups, so it looks something like this:
                   3    123     23   1     1
                  23    123    123   123   12
    Kinder Math  123    123    123   123   123    123
                 ADV    PRO+   PRO   APP   BASI   BLB
    Each of the grades would have three subgroups (bars) representing the three trimesters.  The y-axis scale would be the count of students who received each grade, with the maximum value set to the total number of active students at the end of the year (plus a small fudge factor in case the T3 enrollment is smaller than the T1 or T2 enrollment).
    The database (SQL Server 2005) I'm pulling from has table I'll call Grades; it's joined to a table called Students to get the grade level.  Each record in Grades has the following data in it (names have been changed to make them make more sense here, and only relevant fields are shown):
    StudentID, CourseNum, Section, T1_Active, T1_Grade, T2_Active, T2_Grade, T3_Active, T3_Grade
    If a student was enrolled in a specific CourseNum and Section at the end of a marking period, the XX_Active field will be "A"; if it's not, it should be skipped in the counting.  Because of this it is very possible that the count for a specific grade/trimester is zero, especially at the outliers (ADV and BLB).
    In Chart Expert >> Data >> Advanced, the current charts are set up using:
    On change of Grade.T1_Grade
    Show value(s): Count of Grade.T1_Grade
    (Substitute T2 or T3 for the second and third charts.)  Unfortunately, I have no clue what to choose for these values to get a combined chart.
    My questions:
    1) Does CR support bar graphs with subgroups that aren't stacked?  Does it support having three subgroups?
    2a) If so, what would be my next step to making this work?  Is the secret in running totals, formulas, arrays, or something else?  Maybe creating a view in the database that rearranges the data to make it easier to work with?
    2b) If CR doesn't support this directly, would it be worth while to fake it with six separate bar charts u2013 a chart just for ADV next to a chart just for PRO+, etc. u2013 or would the performance penalty be too much?  Would I need to have them each in their own subreport, or could they all live on the same level?  Is this the way I'd need to go if I also wanted to put trend lines over or above each letter grade group?
    Thank you in advance for any pointers you can give me.
    Jim
    Edited by: jimsteph on Jul 8, 2010 2:33 PM

    If you can create a view, that would be very helpful, by making the view, you are pushing some of the work to the
    server, so... "Hopefully" the report will be quicker. I don't think making six seperate charts would be all that much load on the
    server, or cr. If you do that, would you stack the charts? and just make the top stacks with Transparent backgrounds?
    Rather than add a view on the server u2013 there's talk that the next version of the gradebook program will completely refactor the database u2013 I did a SQL Command (I can't remember where I read about that tip over the last couple of feverish days, but my hat's off and I owe someone a frosty adult beverage!) that created a simplified table.  I then used that to create a Cross-Tab (my original report approximated one using a whole bunch of Running Totals).
    I then tried to make the chart, and got completely frustrated u2013 again u2013 until I accidentally created a chart from the Cross-Tab (right-click on the Cross-Tab and choose Insert Chart ).  I had no idea you could do that, and it ended up being exactly what I wanted.
    I have CRXI, if you go to the Sample reports, you will see one called Chart.rpt, this has multiple examples of some of the
    charts you can create. Perhaps a 3D riser chart would meet your requirements. HTH If not, can you provide some different samples?
    I would have never thought to look for the samples.  Thank you!  Now that I've got my immediate problem solved it's time to look at the samples and see what possibilities exist for future reports.
    Jim

  • Line stacked bar graph without seperate measure for stacks

    Hi All,
    I want to create a line stacked bar combo graph in analytics but i do not want to create seperate column for each stack as the normal convention is since we want to show revenue based on region which keep adding up.
    Can anyone guide about what pcxml to use for this.
    I tried by modifyng the charts/linecolumn.cxml but it shows line also stacked which is not our requirement. There should be a single line only for this.
    Can anyone please guid me for this?

    The graph wizard in Reports 9i allows you to create a dual Y combination graph - is this not sufficient for your needs, or am I missing something?
    Danny

  • How to insert horizontal lines in alv report?

    hi,
        i have to insert horizontal lines in alv report.( RM07MLBB )
            actually my requirement is:
                               basis list = RM07MLBB.
    first secondary list = another report is called here ( RM07DOCS )
                      i want to insert horizontal lines in the first secondary list, when i execute individually RM07DOCS , i can get horizontal lines, but when i dounle click in the basic list --> in the first secondary list , i am not getting the horizontal lnes.
    functional modules used are REUSE_ALV_HIERSEQ_LIST_DISPLAY & REUSE_ALV_GRID_DISPLAY.
        here in this program,
                        is_layout = alv_layout.
    hence i tried to give     
                  alv_layout-no_hline = ' '. 
    but not effecting.
              can some one please tell me , how to insert lines in the alv report.
    thanks in advance,
    Dastagir.

    hello,
         so i cannot insert horizontal lines in the first secondary list according to my sorting condition, i.e., in a single block there should be :
           if same delivery challan number is repeating they should come in the same block,
    for the corresponding delivery challen number, if have po number, is repeating , they also should come in the same block.
                       in this way i have to seperate the blocks containing EXNUM , EBELN CONDITIONED.

Maybe you are looking for