Bar chart in abap.

Hi all,
I have a requirement where in the out put needs to shown in bar charts.  Please let me know if any worked on this.. please provide the sample code.
Thanks
Raju

Hi,
Copy paste below code and check if it is usefull for u. U can change some parameters as per your requirement. Check FM documentation.
REPORT ztest.
TYPES: BEGIN OF t_data,
          class(20) TYPE c,
          value1   TYPE i,
          value2   TYPE i,
          value3   TYPE i,
          value4   TYPE i,
          value5   TYPE i,
          value6   TYPE i,
       END OF t_data,
       BEGIN OF t_opts,
         value(20) TYPE c,
       END OF t_opts.
DATA: i_data TYPE STANDARD TABLE OF t_data,
      i_opts TYPE STANDARD TABLE OF t_opts,
      wa_data TYPE t_data,
      wa_opts TYPE t_opts.
*Selection Screen
SELECTION-SCREEN BEGIN OF BLOCK main WITH FRAME TITLE text-s01.
SELECTION-SCREEN BEGIN OF BLOCK sub1 WITH FRAME TITLE text-s02.
PARAMETERS: po_1 AS CHECKBOX USER-COMMAND ucomm DEFAULT 'X',
            po_c2008(15) TYPE c,
            po_c2007(15) TYPE c,
            po_c2006(15) TYPE c,
            po_c2005(15) TYPE c,
            po_c2004(15) TYPE c,
            po_c2003(15) TYPE c.
SELECTION-SCREEN END OF BLOCK sub1.
SELECTION-SCREEN BEGIN OF BLOCK sub2 WITH FRAME TITLE text-s03.
PARAMETERS: po_2 AS CHECKBOX USER-COMMAND ucomm  DEFAULT 'X',
            po_s2008(15) TYPE c,
            po_s2007(15) TYPE c,
            po_s2006(15) TYPE c,
            po_s2005(15) TYPE c,
            po_s2004(15) TYPE c,
            po_s2003(15) TYPE c.
SELECTION-SCREEN END OF BLOCK sub2.
SELECTION-SCREEN BEGIN OF BLOCK sub3  WITH FRAME TITLE text-s04.
PARAMETERS: po_3 AS CHECKBOX USER-COMMAND ucomm DEFAULT 'X',
            po_f2008(15) TYPE c,
            po_f2007(15) TYPE c,
            po_f2006(15) TYPE c,
            po_f2005(15) TYPE c,
            po_f2004(15) TYPE c,
            po_f2003(15) TYPE c.
SELECTION-SCREEN END OF BLOCK sub3.
SELECTION-SCREEN END OF BLOCK main.
AT SELECTION-SCREEN ON po_1.
  IF po_1 IS INITIAL.
    LOOP AT SCREEN.
      CHECK screen-name EQ 'PO_C2008'
      OR    screen-name EQ 'PO_C2007'
      OR    screen-name EQ 'PO_C2006'
      OR    screen-name EQ 'PO_C2005'
      OR    screen-name EQ 'PO_C2004'
      OR    screen-name EQ 'PO_C2003'.
      screen-active = 0.
      MODIFY SCREEN.
    ENDLOOP.
  ENDIF.
START-OF-SELECTION.
  IF NOT po_1 IS INITIAL.
    CLEAR: wa_data.
    MOVE: ' Test1' TO wa_data-class,
          po_c2008 TO wa_data-value1,
          po_c2007 TO wa_data-value2,
          po_c2006 TO wa_data-value3,
          po_c2005 TO wa_data-value4,
          po_c2004 TO wa_data-value5,
          po_c2003 TO wa_data-value6.
    APPEND: wa_data TO i_data.
  ENDIF.
  IF NOT po_2 IS INITIAL.
    CLEAR: wa_data.
    MOVE: 'Test2' TO wa_data-class,
          po_s2008 TO wa_data-value1,
          po_s2007 TO wa_data-value2,
          po_s2006 TO wa_data-value3,
          po_s2005 TO wa_data-value4,
          po_s2004 TO wa_data-value5,
          po_s2003 TO wa_data-value6.
    APPEND: wa_data TO i_data.
  ENDIF.
  IF NOT po_3 IS INITIAL.
    CLEAR: wa_data.
    MOVE: 'Test3'   TO wa_data-class,
          po_f2008 TO wa_data-value1,
          po_f2007 TO wa_data-value2,
          po_f2006 TO wa_data-value3,
          po_f2005 TO wa_data-value4,
          po_f2004 TO wa_data-value5,
          po_f2003 TO wa_data-value6.
    APPEND: wa_data TO i_data.
  ENDIF.
  CLEAR: wa_opts.
  MOVE 'P2TYPE = VB' TO wa_opts-value.
  APPEND wa_opts TO i_opts.
  CALL FUNCTION 'GRAPH_MATRIX_3D'
       EXPORTING
            auto_cmd_1  = ' '
            auto_cmd_2  = ' '
            col1        = '2003'
            col2        = '2004'
            col3        = '2005'
            col4        = '2006'
            col5        = '2007'
            col6        = '2008'
            dim1        = 'Years'
            dim2        = 'Product'
            inbuf       = ' '
            inform      = ' '
            mail_allow  = ' '
            pwdid       = ' '
            set_focus   = 'x'
            smfont      = ' '
            so_contents = ' '
            so_receiver = ' '
            so_send     = ' '
            so_title    = ' '
            stat        = ' '
            super       = ' '
            timer       = ' '
            titl        = 'vinus test program'
            valt        = 'Sales in $MUSD'
            wdid        = ' '
            winid       = ' '
            winpos      = ' '
            winszx      = '50'
            winszy      = '50'
            x_opt       = ' '
            notify      = ' '
      IMPORTING
           b_key       =
           b_typ            =
           cua_id      =
           mod_col            =
           mod_row     =
           mod_val            =
           m_typ       =
           rbuff            =
           rwnid       =
            TABLES
            data        = i_data
            opts        = i_opts.
Thanks,
Vinod.

Similar Messages

  • HOW TO creat  BAR CHART using ABAP Programming

    DEAR ALL,
    I want some help as to how to creat GRAPHICAL display using ABAP programing (BAR CHART) any sample codes Example will be very helpful.
    Regards,
    VJ

    On earlier versions, you can do something like this.
    [code]
    REPORT ZRICH_0005 .
    DATA: BEGIN OF ITAB_DATA OCCURS 0,
               DATANAME(15),
               QUANTITY1 TYPE I,
               QUANTITY2 TYPE I,
               QUANTITY3 TYPE I,
          END OF ITAB_DATA.
    Data: BEGIN OF ITAB_OPTIONS OCCURS 0,
               OPTION(20),
          END OF ITAB_OPTIONS.
    ITAB_DATA-DATANAME = 'Maple'.
    ITAB_DATA-QUANTITY1 = 5500.
    ITAB_DATA-QUANTITY2 = 6200.
    ITAB_DATA-QUANTITY3 = 5900.
    APPEND ITAB_DATA.
    ITAB_DATA-DATANAME = 'Oak'.
    ITAB_DATA-QUANTITY1 = 3500.
    ITAB_DATA-QUANTITY2 = 5200.
    ITAB_DATA-QUANTITY3 = 4400.
    APPEND ITAB_DATA.
    ITAB_DATA-DATANAME = 'Cherry'.
    ITAB_DATA-QUANTITY1 = 1800.
    ITAB_DATA-QUANTITY2 = 2200.
    ITAB_DATA-QUANTITY3 = 1900.
    APPEND ITAB_DATA.
    CALL FUNCTION 'GRAPH_MATRIX_3D'
         EXPORTING
              COL1        = 'Jan'
              COL2        = 'Feb'
              COL3        = 'Mar'
              TITL        = 'Lumber Usage in $'
         TABLES
              DATA        = ITAB_DATA
              OPTS        = ITAB_OPTIONS
         EXCEPTIONS
              OTHERS      = 1.
    [/code]
    Regards,
    Rich Heilman

  • Bar chart in abap web dynpro

    Hi,
    I have some data which i need to show in bar chart when I click a button.
    So, can you guide me the procedure to do so.
    Thanks and Regards
    Tenzin

    Hi Tenzin,
    If you create node in component controller, map it with view controllers (suppose there are 2 views in the application) in the application & binds data in any of the view to the context of that view, then that data becomes available everywhere i.e. 2 view controllers & 1 componentcontrollers.
    steps:
    1) create node cn_abc in component controller
    2) map it with contexts of the 2 views
    3) collect data in the internal table of type context node
    4) using following code in method of any view, bind the data to the context of that view. Then the collected data will be available in all the 3 contexts
    DATA lo_nd_cn_abc TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_abc TYPE REF TO if_wd_context_element.
        DATA ls_cn_alv TYPE wd_this->element_cn_alv.
      navigate from <CONTEXT> to <CN_ALV> via lead selection
        lo_nd_cn_abc = wd_context->get_child_node( name = wd_this->wdctx_cn_abc ).
    collect data in t_abc table
        lo_nd_cn_abc->bind_table( t_abc ).
    Convert the data in string format,
    I hope you have followed all the remianing steps correctly.
    Regards,
    Saket.

  • SE 30 BAR chart Recommended run times?

    Hi Experts,
                      I have been searching for Recommended  ABAP ,DATABASE and SYSTEM Ratio in SE30 Bar chart. I never come across any document who  explained properly about this , Can Any body help regarding this .
    I also want to know why SYSTEM bar showing different percentage every time i run the same program.
    Edited by: gafoor.sunkesula on Apr 13, 2011 12:16 PM
    Edited by: gafoor.sunkesula on Apr 13, 2011 12:17 PM

    there is no recommended ratio, because that is not possible, as all applications are different.
    You should also not concentrate on the ration, but on the absolute values.
    All absolute values will vary even in repeated executions, for example there can be more load on the DB (ratios can vary much more, if absolute numbers are small).
    Chart helps you to find out, whether there is a problem with database or not. High system times tell you that there is probably a lot of loading and generating, better measure a repeated execution.

  • Setting legend layer attributes for SAP Bar Chart Graphics

    Hello!
    I'm using the SAP Bar Chart for displaying a calendar which is easily printable.
    Because the chart contains lines with colored layers without text I need to show a legend at the bottom of a printed page.
    I am using the CALL FUNCTION 'BARC_SET_LEGEND_ATTRIB' for setting up the legend and CALL FUNCTION 'BARC_ADD_LEGEND_NODE' to add the nodes/layers and texts to the legend.
    The only problem is that the width of each layer displayed in the legend in very narrow. Only ten letters are shown for each legend entry and this is not enough to display the meaning of my colored bars in the chart area.
    I tried changing layer-values in the bar chart customizing ( /ocng ) but nothing helped to make the legend entries wider.
    Does anyone have an idea?

    Hi,
    Try this link  
    [http://help.sap.com/saphelp_40b/helpdata/fr/52/670cd2439b11d1896f0000e8322d00/content.htm]
    You can find sample SAP reports for graph and graphics
    [http://www.erpgenie.com/sap-technical/abap/sample-codes-for-sap-graphs-a-graphics]
    Ben.

  • SAP charting capabilities (ABAP)

    Hi everybody,
    I did some research into SAP's charting capabilities and I am a little confused about the different ways charts can be created.
    One key feature I need in my charting application is event handling, for example when a user clicks on a pie wedge.
    Right now I see three different ways of creating charts in ABAP
    - Using the GRAPH_... function modules for example GRAPH_2D
    - Using the Graphical Framework as in GFW_PROG_TUTORIAL
    - Using the CL_GUI_CHART_ENGINE class
    Is there any major difference between these three? I know that GFW and CL_GUI_CHART_ENGINE support event handling. Do the GRAPH_... FuBas so?
    BTW, is it possible to use the xml file created in Chart Designer in one of the aforementioned solutions?
    Thanks everybody,
    Mane

    This code snippet shows how to use function GFW_PRES_SHOW.
    ...data gathering
    *__Make data format
    DATA: lv_cnt(2), lv_text(30).
    REFRESH values.
    REFRESH column_texts.
    SORT it_gra BY zcono.
    *__Row definition
    LOOP AT it_gra.
      lv_cnt = sy-tabix.
      CONCATENATE 'VALUES-VAL' lv_cnt INTO lv_text.
      CONDENSE lv_text.
      ASSIGN (lv_text) TO <fs>.
      <fs> = it_gra-cnt.
    ENDLOOP.
    *___Row Text
    values-rowtxt = '??????'.
    APPEND values.
    *__Column definition
    LOOP AT it_gra.
      column_texts-coltxt = it_gra-zcono.
      APPEND column_texts.
    ENDLOOP.
    *___Call graph function
    CALL FUNCTION 'GFW_PRES_SHOW'
         EXPORTING
           presentation_type = 31        "graph type 31 = pie type, 8 or 1 = bar chart
           parent = contc                "Custom Container
         TABLES
           values = values               "row data(Maximun 32)
           column_texts = column_texts   " column definition
         EXCEPTIONS
           error_occurred = 1
           OTHERS = 2.

  • Displaying graphical representation of data in hash tables as bar chart?

    I want to be able to display results in my hash table as a bar chart i don't know how to do it could someone help me I've looked through tutorials couldn't find any information that actually helped.
    In my program it doesnt allow matching the capital and small letters
    so for instance if I already have Mike it allows for me to input mike in again so there are 2 Mikes.
    I also want to do a simple user interface the tutorial for it is not simple to understand could any one tell me how to create a simple user interface like putting a button into a place wher i want it to be.
    im not asking anyone to do it for me i just want people to show me how to do it
    thank you
    Edited by: Tek_Hedef on Dec 1, 2007 4:30 AM

    Thanks for the ideas pal but I did have a go at it but my bit of code is making it crash but i removed it now so here's what I have so far
    import java.io.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    class StudentDetails extends JFrame implements ActionListener
         private JTextField StudentNameTxt, StudentMarkTxt;
        private JButton DeleteStudentDetailsBtn, DisplayAllStudentsBtn, SearchStudentBtn, FailedStudentsBtn, PassedStudentsBtn, DistinctionStudentsBtn, AddStudentDetailsBtn, ExitBtn;
        private JPanel DisplayStudentDetailsPnl;
        private JLabel StudentNameLbl, StudentMarkLbl;
        private JTextArea DisplayResultsTxt;
        private Hashtable StudentDetailsTbl;
        private String StudentName, StudentMark;
        public static void main(String[] args)
            StudentDetails frame = new StudentDetails();
             frame.setSize(600,600);
            frame.createGUI();
            frame.setVisible(true);
        public void display(JPanel DisplayStudentDetailsPnl)
            Graphics paper = DisplayStudentDetailsPnl.getGraphics();
            paper.setColor(Color.white);
            paper.fillRect(0, 0, 500, 500);
            paper.setColor(new Color((int)(Math.random()*255),(int)(Math.random()*255),(int)(Math.random()*255) ));
        private void createGUI()
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            Container window = getContentPane();
            window.setLayout(new FlowLayout());
            StudentDetailsTbl = new Hashtable();
            StudentNameLbl = new JLabel("Student Name");
            window.add(StudentNameLbl);
            StudentNameTxt = new JTextField(15);
            window.add(StudentNameTxt);
            StudentMarkLbl = new JLabel("Student Mark");
            window.add(StudentMarkLbl);
            StudentMarkTxt = new JTextField(3);
            window.add(StudentMarkTxt);
            AddStudentDetailsBtn = new JButton("Add Student and Mark");
            window.add(AddStudentDetailsBtn);
            AddStudentDetailsBtn.addActionListener(this);
            DeleteStudentDetailsBtn = new JButton("Delete Student");
            window.add(DeleteStudentDetailsBtn);
            DeleteStudentDetailsBtn.addActionListener(this);
            DisplayAllStudentsBtn = new JButton("Display all Students and Marks");
            window.add(DisplayAllStudentsBtn);
            DisplayAllStudentsBtn.addActionListener(this);
            SearchStudentBtn = new JButton("Search Student");
            window.add(SearchStudentBtn);
            SearchStudentBtn.addActionListener(this);
            FailedStudentsBtn = new JButton("Students which Failed");
            window.add(FailedStudentsBtn);
            FailedStudentsBtn.addActionListener(this);
            PassedStudentsBtn = new JButton("Students which Passed");
            window.add(PassedStudentsBtn);
            PassedStudentsBtn.addActionListener(this);
            DistinctionStudentsBtn = new JButton("Students with Distinction");
            window.add(DistinctionStudentsBtn);
            DistinctionStudentsBtn.addActionListener(this);
            ExitBtn = new JButton("Exit");
            window.add(ExitBtn);
            ExitBtn.addActionListener(this);
            DisplayResultsTxt = new JTextArea();
            DisplayResultsTxt.setPreferredSize(new Dimension(200, 200));
            DisplayResultsTxt.setBackground(Color.white);
            window.add(DisplayResultsTxt);
            DisplayResultsTxt.enable(false);
        public void actionPerformed (ActionEvent e)
             if (e.getSource()== AddStudentDetailsBtn)
                  StudentName = StudentNameTxt.getText();
                   StudentMark = StudentMarkTxt.getText();
                  DisplayResultsTxt.setText("");
                  StudentDetailsTbl.put(StudentName, StudentMark);
                Enumeration enumStudentName = StudentDetailsTbl.keys();
                Enumeration enumStudentMark = StudentDetailsTbl.elements();
                String[] keys = (String[]) StudentDetailsTbl.keySet().toArray(new String[0]);       
                Arrays.sort(keys); 
                    for (String key : keys)
                         DisplayResultsTxt.append(key + " : " + StudentDetailsTbl.get(key)+ "\n");
                    StudentNameTxt.setText("");
                    StudentMarkTxt.setText("");
             if (e.getSource() == DeleteStudentDetailsBtn )
             if (StudentDetailsTbl.containsKey(StudentNameTxt.getText().trim()))
                  DisplayResultsTxt.setText("");     
                  String txt = StudentNameTxt.getText();
                Enumeration enumStudentName = StudentDetailsTbl.keys()  ;                   
                    String currentelement = (String)enumStudentName.nextElement();
                     StudentDetailsTbl.remove(txt);
                     DisplayResultsTxt.append(txt + " has been deleted");  
            if (e.getSource() == SearchStudentBtn)
            if (StudentDetailsTbl.containsKey(StudentNameTxt.getText().trim()))
                 String txt = StudentNameTxt.getText();
                 String result;
                 DisplayResultsTxt.setText("");
                 Enumeration enumStudentName = StudentDetailsTbl.keys();
                Enumeration enumStudentMark = StudentDetailsTbl.elements();
                   while (enumStudentName.hasMoreElements())
                        String currentelement = (String)enumStudentName.nextElement();
                    result = (StudentDetailsTbl.get(currentelement).toString());
                        if (txt.equals(currentelement))
                             DisplayResultsTxt.append(currentelement + " " + result);
                        else JOptionPane.showMessageDialog(null, "Student Name could not be identified");
            if (e.getSource() == DisplayAllStudentsBtn)
                  DisplayResultsTxt.setText("");
                 Enumeration enumStudentName = StudentDetailsTbl.keys();
                Enumeration enumStudentMark = StudentDetailsTbl.elements();
                while (enumStudentName.hasMoreElements())
                DisplayResultsTxt.append(enumStudentName.nextElement()+ " " + enumStudentMark.nextElement()+ "\n");
            if (e.getSource() == PassedStudentsBtn)
                 DisplayResultsTxt.setText("");
                 Enumeration enumStudentName = StudentDetailsTbl.keys();
                Enumeration enumStudentMark = StudentDetailsTbl.elements();
                while (enumStudentName.hasMoreElements())
                     int Mark = Integer.parseInt((String)enumStudentMark.nextElement());
                     String Name = (String)enumStudentName.nextElement();
                     if (Mark >=40)
                          DisplayResultsTxt.append(Name + " " + Mark + "\n");
            if (e.getSource() == FailedStudentsBtn)
                 DisplayResultsTxt.setText("");
                 Enumeration enumStudentName = StudentDetailsTbl.keys();
                Enumeration enumStudentMark = StudentDetailsTbl.elements();
                while (enumStudentName.hasMoreElements())
                     int Mark = Integer.parseInt((String)enumStudentMark.nextElement());
                     String Name = (String)enumStudentName.nextElement();
                     if (Mark <40)
                          DisplayResultsTxt.append(Name + " " + Mark + "\n");
            if (e.getSource() == DistinctionStudentsBtn)
                 DisplayResultsTxt.setText("");
                 Enumeration enumStudentName = StudentDetailsTbl.keys();
                Enumeration enumStudentMark = StudentDetailsTbl.elements();
                while (enumStudentName.hasMoreElements())
                     int Mark = Integer.parseInt((String)enumStudentMark.nextElement());
                     String Name = (String)enumStudentName.nextElement();
                     if (Mark >=75)
                          DisplayResultsTxt.append(Name + " " + Mark + "\n");
    }

  • Adding data to a bar chart "live"

    Is it possible to add data to a series during a presentation so that the bar chart stays on screen but an extra column appears. I don't want to keep fading in and out I want it on screen all the time. I'm trying to do a "live scoreboard" using bars to represent scores. Any ideas? Many thanks....

    Keynote builds what's going to be displayed prior to putting it up onscreen. So, there isn't currently a way to alter any of that information once the presentation starts.

  • Trying to get Pivot table drop down list to affect bar chart below it

    Hi,
    In BI Answers I have a pivot table and a bar chart below it. At run time, I can choose a value from the
    drop down list for the pivot table, but the bar chart below it doesn't react to the new value chosen
    from the pivot table.
    Does anyone know a way to get the bar chart to receive new values, permeating down from a table view
    pivot table above it on the same report (apart from using prompted filters for the whole report).
    Many thanks,
    Jake

    you may want to try this...
    in you bar chart criteria, set prompted filters of all the dimension fields u want from the pivot table.
    in the pivot table, set action links on these dimension columns and loop it back to the current dashboard page.
    now, when u click on a value on the pivot table, the dim values of this will be passed as a parameter to the the bar chart filter set and your bar chart will change accordingly...
    -sharath

  • How to change the bar chart rendering image format in SSRS

    Hello all,
    I am working with SQL Server 2008 R2 and I have a SSRS bar chart report, when the report got rendered over online or if the take Export (PDF and PPT), the image is in png format always, which is taking too much of time to execute the report in case of large
    data.
    Can, It be possible that the rendered image is in jpeg format instead of png.
    If Yes, please share the appropriate steps to follow:
    Thanks in advance
    Pankaj Kumar Yadav-

    Hi Pankaj067,
    According to your description, you want to change the bar chart rendering image format as JPEG format when previewing the report or exporting to a PDF file .
    In Reporting Services, the chart rendering image format is PNG by default. It’s a by-design behavior. And it doesn’t open any API for us to change the image type when exporting a chart to a format. So in your scenario, your requirement can’t be achieved
    in Reporting Services currently. I would recommend you submit a feature request to Microsoft at this site:
    https://connect.microsoft.com/SQLServer. So that we can try to modify and expand the product features based on your needs.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Bar Chart- How to center graph lines

    I am very new to Xcelsuis and am fighting with someing that is easy to most, but driving me crazy.
    I have a Label Bar that poplulates a list box and when I click on an item in the list box the correct information appears on the bar chart.  The problem is that is is all pushed to the bottom of the graph.  I need it to space accordingly in the center of the graph. 
    Please know that I can have anywhere from 1 bar chart line or 40.
    Thanks in advance for your assistance.
    JP

    Hi JP,
    Have you tried the ignore blank cells in series and values options. These are on the behaviour tab.
    Regards
    Alan

  • How to format individual series in stacked bar chart

    Hi,
    Is there any way I can format (sort order, or transperency) of each series individually in a horizontal stacked bar chart?
    I am trying to create a gantt chart, where I am using two series
    1. Start Date
    2. Duration
    The function of series one (Start Date) is only to place the start position of the horizontal bar of series 2 (duration) in the year time frame.
    After creation of the stacked bar chart, I want to make the reansperency of series 1 (start Date) as 0 so that the duration bar apears floating and gives the feel of Gantt chart.
    Thanks
    Aurobindo

    You may wish to see the article <a href="http://www.xcelsiusjournal.com/index.php?option=com_content&task=view&id=45&Itemid=2" target="_blank" title="Constructing a Simplified Gantt Chart in Crystal Xcelsius">Constructing a Simplified Gantt Chart in Crystal Xcelsius</a>. It does require changing the skin to Windows Classic, but that&#39;s a small price to pay for having a gantt-like capability.  <p>Loren Abdulezer/Evolving Technologies Corporation<br /><strong><a href="http://www.XcelsiusBestPractices.com">www.XcelsiusBestPractices.com</a></strong><br /><strong><a href="http://www.XcelsiusJournal.com">www.XcelsiusJournal.com</a></strong> </p>

  • How to make the labels vertical in a horizonal bar chart?

    Hi,
    I am using CF 9.  I have a horizontal bar chart.  How can I make the labels on the Y-Axis display horizontally.  Right now they are vertical and sort of sideways.
    Below is a snipept from my <cfchart>.  Everything is working, I just want the labels to display horizontally.  How can I do this?
    <cfchart
                              format="png"
                              chartheight="310" chartwidth="530" foregroundcolor="##000000"
                              show3d="false"
                              scalefrom="0" scaleto="14"
                              showlegend="no"
                              showxgridlines="yes"
                              showygridlines="no"
                              showborder="no"
                              style="#elementStyle#" >
                              <cfchartseries type="horizontalbar" paintstyle="shade"">
                              </cfchartseries>
    </cfchart>
    Thanks...

    When you open the default New Tab page - about:newtab - which has the Tiles and a Search Bar, the "focus" is in the Search Bar. You could change a hidden setting to have a blank page when you open a new tab if that's what you want - that will have the "focus" in the Location Bar . URL Bar.
    Type '''about:config''' in the URL bar and hit Enter.
    ''Accept the warning''
    Search field at the top to filter with this - '''browser.newtab.url'''
    Right-click the preference that appears below, and select '''Modify'''.
    Insert '''about:blank''' for the new string value.

  • How can I show a 0% range in the data value label on a bar chart thanks?

    How can I show a 0% range in the data value label on a bar chart thanks?

    I'm not sure what the question is. 
    I know that if you have a bar chart and one of the categories (X-axis) has bar (Y value) equal to 0%, no bar is plotted for that category. Even the addition of a stroke (line) around the bars doesn't make one appear for 0%.  The only automatic way I know of to make it look like there is data in that category is to add the value labels to the bars. Inspector/Chart/Series, select one of the bars on the chart, click on "value labels". Another method that is a workaround is to fudge the number a little in your table so that instead of 0% it is a very small %.  This will get you a thin line on the chart.
    But if your question is about the value labels (the numbers that display on or in the bars) and you are not getting one for a bar that is supposed to be 0%, it probably means your table doesn't actually have a 0% in the corresponding cell. A blank cell in the table will not get a value label.

  • How to add a number at the end of a bar chart?

    Hello everyone,
    I am building a series of graphs and bar charts for my thesis.
    I am struggling top fin an option that would allow me to but a "n=number" kind of entry at the end of the chart.
    I did manage to put the percentages in front of every bar, but what I wanted to do is something like this:
    Is this even feasible?
    Thank you everyone for the help!
    Cheers,
    Tiago

    Hello Jerrold
    Thank you very much for the help mate!
    It might take a little longer to edit all the graphs, but it's a start
    Thanks once again!
    Tiago

Maybe you are looking for

  • Some applications fail to open

    Some of my apps no longer open. They used to. Over the wekend I shut down the computer. Yesterday the problems began. The following apps all exhibit the same behavior: Appleworks, Quicken 2007, EyeTV. And that behavior is... - no matter how I try to

  • Perl problem? Run postflight script

    Yesterday my USB mobile internet aircard wouldn't mount in OS X (10.5.6). I spent hours on the phone with the ISP's tech support, and they ultimately had me download and reinstall the software. When I attempted to install that software, it failed wit

  • Itunes tv series rental

    if I rent a full tv series from itunes will i only have 24 hours to watch all the episodes or can i watch a few episodes a day as long as i watch all of them in the 30 day time limit.

  • Aperture 2 Color Profiling....please help

    Hi I have a MBP and aperture...I did the following setup 1) Calibrated my Monitor with a spyder (used gamma2.2 and neutral) I doubled on this website that the calibration is ok http://www.drycreekphoto.com/Learn/monitor_calibration.htm 2) on Aperture

  • How to change Photoshop Elements license from Win to Mac

    In February 2015, I purchased the Photoshop Elements 13 Windows version. I no longer have access to the Windows version and it was uninstalled from the Windows Platform. Can I use the serial number for the Windows version with the Mac version?