Hide tick labels

Is there a way to make the tick lables not visible? I believe I am trying to hide the y1TickLabel and the o1TickLabel for a graph.
Thank You.
- Charley

Aneel,
Thank you very much, that did what I was looking for. It is a little strange that the left side of each of the graphs still seem to have something there taking space. I guess that the Y axis labels are still there but just not visible. The x axis labels don't even seem to take any space.
We are putting graph "thumbnails" on our page and the users do not want any text on the graph so this is a good solution.
Thanks again.
- Charley

Similar Messages

  • Tick labels format in a dynamicaly generated graphic

    Hello all,
    I have a form in which the user select some parameters for the graphics.
    I have a grafic.ogd file which has 4 templates, parameters and procedures.
    Dependending on the selection in the form i drow the graphic dynamicaly with
    the following procedure:
    default_format='999,999,999,999';
    the_template := og_get_template(:template);
    qtype := OG_Sql_Qtype;
    qsource := :sqlquery;
    the_query := OG_Make_Query(Qtype, qsource);
    OG_Set_Name(the_query, 'q');
    --OG_Execute_Query(Query);
    /* set the name of the chart */
    emp_chart.chart_caob.name := 'achart';
    /* set the size of the plot frame */
    emp_chart.chart_caoc.frame.x := 1*OG_INCH;
    emp_chart.chart_caoc.frame.y := .4*OG_INCH;
    emp_chart.chart_caoc.frame.height := 3*OG_INCH;
    emp_chart.chart_caoc.frame.width := 3*OG_INCH;
    /* set the template and query to use */
    emp_chart.chart_caoc.template := the_template;
    emp_chart.chart_caoc.query := the_query;
    /* set the masks for all the above */
    emp_chart.chart_caob.mask := OG_NAME_GENERICA;
    emp_chart.chart_caog.mask := OG_NONE_GROUPA;
    emp_chart.chart_caoc.mask := OG_ALL_CHARTA;
    -- emp_chart.chart_caoc.mask := OG_TITLE_CHARTA;
    --emp_chart.chart_caoc.title := 'bla bla blA';
    /* make the chart */
    the_chart := og_make(emp_chart);
    indep_field.field_type := OG_INDEPENDENT;
    indep_field.colname := returnalias(1,:coloane);
    indep_field.ftname := 'field_tmp';
    /* insert it into the chart in the 0th position */
    og_insert_field(the_chart, indep_field, 0);
    i:=2;
    while i<=:nrcol loop
    dep_field.field_type := OG_DEPENDENT;
    dep_field.colname := returnalias(i,:coloane);
    dep_field.ftname := 'field_tmp';
    /* insert it into the chart in the last position */
    og_insert_field(the_chart, dep_field, OG_LAST);
    i:=i+1;
    end loop;
    /* execute the query for the first time */
    og_execute_query(the_query);
    settitle(:titlu);
    if length(:axaox) <> 0 then
    setxlabel(:axaox);
    end if;
    if length(:axaoy) <> 0 then
    setylabel(:axaoy);
    end if;
    if to_number(:maxs) <> 0 or to_number(:step) <> 0 then
    setscale(to_number(:mins), to_number(:step), to_number(:maxs));
    end if;
    /*acilea stabilim formatul de ticklabel*/
    axis_y := og_get_axis(the_template, og_y1_axis);
    axis_x := og_get_axis(the_template, og_x_axis);
    og_set_disc_numfmt(axis_y, default_format);
    og_set_disc_numfmt(axis_x, default_format);
    /* update the chart so the new field and query
    ** information will take effect */
    og_update_chart(the_chart, OG_ALL_CHUPDA);
    On the axis i have 500,000 and 1,000,000 tick labels. 500,000 is shown ok
    but 1,000,000 is something like that ########.
    It looks like og_set_disc_numfmt is not executed.
    If someone knows what's wrong please tell me!
    Thanx
    Costel Cirnmaru
    3S Computers & Communication

    Hello David,
    The reason for this problem is probably related to the FlateDecode compression described  in SAP Note 843480 (PDF conversion: Compression of bitmaps and TrueType fonts).
    Try switching off the usage of FlateDecode compression again via report RSTXPDF3 as described in Note #843480.
    It is a little confusing. The option 'FLATE_COMPR_OFF' needs to be set to 'On' to turn off the FlateDecode compression.
    To set this run as follows:
       se38 -> RSTXPDF3 -> enter 'FLATE_COMPR_OFF' in the 'Name' field
             -> Select 'Change Settings' radio button
    You will get a pop-up 'Do not use flat compression'.
    Select the 'on' button.
    After this create a new PDF and check if the problem is resovled.
    Regards,
    Aidan

  • Fields not visible after replication ?(hide tick removed)

    Hi experts,
    I have added fields from LO communication structure to extract structure and i have removed the Hide option in maintain datasource.When i am  replicating in BI those fields are not visible.What is the reason?
    I am eagerly waiting for reply.
    Regards,
    lap

    Hi Lap,
    U can delete the data source in RSA6, u can activate again from RSA5,
    Here u don’t need to do any setup tables, u will get the enhanced fields with Hide Mark,
    U have to remove the Hide tick and Replicate…..
    U will get the added fields in BI then u map the transformation …
    I have done this once… It works fine…
    Assign points if it Helpful to you,
    I appreciate Geo quick Response..
    Regards,
    SHAIK

  • JSlider: how to change tick label font?

    Hi,
    does anyone know how to change the tick labels font of a jSlider?
    Thanks for your help,
    Elke

    Just made this up, seems to work    Dictionary d = mySlider.getLabelTable();
        Enumeration e = d.elements();
        while (e.hasMoreElements()) {
          Object o = e.nextElement();
          if (o instanceof JComponent) ((JComponent)o).setFont(new Font("Dialog", 0, 9));
        }

  • Resizing tick labels on a lineChart?

    I have an application that makes heavy use of lineCharts. It would nice if, when expanding the JavaFX scene window, the ticklabels on my chart also expanded - they don't. I don't see any way in the documentation of making this happen - or am I missing something?
    edited to add -
    and failing that, is there a way to tell when my lineChart - or it's stage - is resized? I could use that information to achieve my desired result.
    Edited by: 953258 on Sep 27, 2012 2:41 PM

    Listen to the charts layoutBounds property and size the tick label font when the bounds change.
    http://docs.oracle.com/javafx/2/api/javafx/scene/chart/Axis.html#tickLabelFontProperty
    http://docs.oracle.com/javafx/2/api/javafx/scene/Node.html#layoutBoundsProperty

  • Set decimal tick label for number axis

    Hi everyone,
    In my chart, the number axis tick label is always like float number. I need an decimal number tick label. Because I use auto-range on this axis, i think this
    NumberAxis(double lowerBound, double upperBound, double tickUnit) is not good for me.
    Also, I have try setTickLabelFormatter on FX example, but for me, it seems like useful for set prefix and suffix. Can someone give me solution for this problem
    Edited by: pirent420 on 19:08 17-09-2012: add tag

    It doesn't work properly.
    You can look the link here:
    Before I use yours: before
    After I use yours: After
    It convert all number object to integer. So if my chart has 4 tick label like: 1.0, 1.25, 1.5 and 1.75, it conver to 1, 1, 1 and 1. It not what I looking for. If axis has 3 value: 1,2 and 3, I just want it present only 3 tick labels, not expand more tick label like 1.25, 1.5, 1.75 ....

  • Hide axis labels

    I have 3 columns for my Axis labels and chart is as desired. BUT, I only want to show the first 2 categories of values on my axis (year and Quarter).  The 3rd label allows me to chart each individual value but I don't want the values to show in the
    axis. They appear in the graph as "points" but I need to hide them on the axis.
    How do I do that?
    TIA

    Hi TIA,
    According to your description, you want to show the first 2 categories of values on my axis (year and Quarter) in your Pivot Chart, right?
    I have tested it on my environment, currently there are no any options to hide axis labels in Axis Option for a Pivot Chart which you can see on the screenshot below.
    So in your scenario, there is no such a functionally to work around your requirement. If you have any concern about this behavior, you can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product. Your feedback enables Microsoft to make software and services the best that
    they can be, Microsoft might consider to add this feature in the following release after official confirmation.
    Thank you for your understanding.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Auto Tick Label Rotate, No Stagger

    Is it possible to have the O1 tick labels of a bar chart not stagger the labels when overlap is detected and instead move directly to label rotation? I had thought this might do the trick:
    <O1TickLabel tickLabelStaggered="false" automaticRotation="AR_HORIZ_ROTATE_90"/>
    It does not. It initially staggers when overlap is detected before moving to rotation when labels are cluttered enough that staggering no longer solves overlapping.
    I realize I can use this to have rotation used all the time:
    <O1TickLabel textRotation="TR_HORIZ_ROTATE_90" automaticRotation="AR_NO_ROTATE">
    But I like the idea of showing the labels straight across if they are sparse enough to fit.

    Test Screen Name, indeed it will be impossible to provide a fool-proof solution for innumerable printer/Adobe Reader combinations.
    I will be providing ready to print label sheets (not templates) on my web site. I reckon the users will be keen, but mostly have no IT skills.
    The sample sheet is a great idea as this would help reduce ink consumption on the test prints!
    I am keen for this to become a success and I would love to provide screenshots of printer settings.
    I run Linux on all my machines, so won't be able to obtain screenshots with any ease.
    I am working on the assumption that that 95% of PDF files are opened with Adobe Reader on Mac/Windows. Have you got any idea which are the nost common versions in the field now?

  • Hide DataPoint Label if Zero in Chart in RDLC Report

    Hello,
    I want to hide the datapoint label if the value of my Y axis datapoint is zero.I am trying the below mentioned field expression in
    visibility of series label property.It does  not appear results as expected.
    =IIf(Sum(Fields!RH_Col.Value,
    "DataSet2")
    =
    0,
    false,
    true)
    I want to hide the datapoint label if the value
    of my datapoint is zero. Iam trying the following field expression
    in visibility of series label property. It does not appear
    results as expected.
    =IIf(Sum(Fields!RH_Col.Value, "DataSet2") = 0, false, tru
    I want to hide the datapoint label if the value
    of my datapoint is zero. Iam trying the following field expression
    in visibility of series label property. It does not appear
    results as expected.
    =IIf(Sum(Fields!RH_Col.Value, "DataSet2") = 0, false, tru

    Hey,
    This is the Feild Expresson i have modified and its working.In this i have used categorygroup instead of filtering whole dataset.
    =IIf(Sum(Fields!LC25.Value, "Chart1_CategoryGroup3") = 0, false, true)

  • How to hide a label in webdynpro

    Hi.
       I have a Label and a dropdown in the window, where on selecting the particular value in my previous dropdown. This label and drop down need to be visible. How to hide the field.
    Kindly help me to solve this one.
    Thanks
    Yogesh

    Hi,
    You can use the ONSELECT event of the previous dropdown (the dropdown whose value you want to use to make the label invisible).
    In the evenhandler for ONSELECT event has paramaters like CONTEXT_ELEMENT , ID and KEY where ID is the ID of dropdown
    and KEY is the value selected in dropdown.
    EXAMPLE,
    DATA : lo_label = cl_wd_label.
    IF key EQ 'I agree'.
      lo_label ?= view_instance->get_element(ID = 'LABEL_ID').
      IF NOT lo_label INITIAL.
        lo_label->set_visible(value = 01 ).
      ENDIF.
    ENDIF.
    The view_instance has to be set with value of attribute"view" in ur WDMODIFY method of view.
    Similarily you can make dropdown or any UI element invisible.
    Hope it helps.
    Thanks,
    Aditya.

  • JSlider randomly missing tick labels

    Hello everyone,
    I am having a problem with JSliders. I have an application that has several JSliders throughout. They are vertical, min=100 and max=1000, with major ticks every 100, and minor ticks every 25, and the ticks and labels are painted.
    I have noticed that out of say 10 such sliders in my application, perhaps one or two sliders are randomly missing some ticks. For example, the labels will read 100, 200, 300, 400, 500, 600, 700, 900, 1000 (with the 800 just missing). The space for the text is there, but no text.
    As I mentioned, this doesn't always occur. It occurs perhaps on one or two sliders out of 10 every time I start the application. So this would seem to me to be related to a threading issue.
    Here is the constructor that creates the panel that has the JSlider in it:
           try{                                                                                                                                   
                SwingUtilities.invokeAndWait( new Runnable(){ public void run(){                                                                   
                    // INIT GUI & CUSTOM INIT                                                                                                      
                    initComponents();                                                                                                                                                                                                                          
                    depthJSlider.putClientProperty("JSlider.isFilled", Boolean.TRUE);                                                              
            catch(Exception e){ Util.handleExceptionNoRestart("Error building Log Table", e); }  
    Here is initComponents() which actually does the work:
        private void initComponents() {
            depthJSlider = new javax.swing.JSlider();                                                                                              
            depthJSlider.setMajorTickSpacing(100);                                                                                                 
            depthJSlider.setMaximum(1000);                                                                                                         
            depthJSlider.setMinimum(100);                                                                                                          
            depthJSlider.setMinorTickSpacing(25);                                                                                                  
            depthJSlider.setOrientation(javax.swing.JSlider.VERTICAL);                                                                             
            depthJSlider.setPaintLabels(true);                                                                                                     
            depthJSlider.setPaintTicks(true);                                                                                                      
            depthJSlider.setSnapToTicks(true);                                                                                                     
            depthJSlider.setToolTipText("<html>\n<b>Event Log Depth Slider</b><br>\nThis slider allows you to specify the maximum number of visible\
    events<br>\nwhen the \"Refresh Log\" or \"Start Auto-refresh\" buttons are pressed.</html>");                                                 
            depthJSlider.setMaximumSize(null);                                                                                                     
            depthJSlider.setMinimumSize(null);                                                                                                     
            depthJSlider.setPreferredSize(null);                                                                                                   
            gridBagConstraints = new java.awt.GridBagConstraints();                                                                                
            gridBagConstraints.gridx = 0;                                                                                                          
            gridBagConstraints.gridy = 0;                                                                                                          
            gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;                                                                        
            gridBagConstraints.weighty = 1.0;                                                                                                      
            gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 10);                                                                          
            tableJPanel.add(depthJSlider, gridBagConstraints);                                                                                     
             }Does anyone have any ideas at all why some of the labels might be missing?
    (Please drop a line to [email protected] if you have any thoughts!)
    Sincerely,
    Ian

    No problems in j2se 1.5.0
    import java.awt.*;
    import javax.swing.*;
    public class SliderTest {
        private JSlider getSlider() {
            JSlider slider = new javax.swing.JSlider();
            slider.setMajorTickSpacing(100);
            slider.setMaximum(1000);
            slider.setMinimum(100);
            slider.setMinorTickSpacing(25);
            slider.setOrientation(javax.swing.JSlider.VERTICAL);
            slider.setPaintLabels(true);
            slider.setPaintTicks(true);
            slider.setSnapToTicks(true);
            slider.setToolTipText("<html><b>Event Log Depth Slider</b>" +
                            "<br>This slider allows you to specify the maximum " +
                            "number of visible events<br>when the \"Refresh Log\" " +
                            "or \"Start Auto-refresh\" buttons are pressed.</html>");
            slider.setMaximumSize(null);
            slider.setMinimumSize(null);
            slider.setPreferredSize(null);
            return slider;
        private JPanel getPanel() {
            JPanel panel = new JPanel(new GridBagLayout());
            GridBagConstraints gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;
            gridBagConstraints.weighty = 1.0;
            gridBagConstraints.weightx = 1.0;
            gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 10);
            for(int j = 0; j < 10; j++)
                panel.add(getSlider(), gridBagConstraints);
            return panel;
        public static void main(String[] args) {
            SliderTest test = new SliderTest();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(test.getPanel());
            f.setSize(800,400);
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • Hide text label in IR report section conditionally

    Hi,
    We have a textlabel and a computed field in a report section in IR 11.1.2.1. Is there a way(through scripting) to hide the textlabel and field based on certain conditions, like say, if the field computes to 'zero'?
    Thanks.

    Use a Field instead of Text Label. Then in the Expression Editor you can use if(){}else{} logic
    HTH
    Wayne

  • Changing tick labels

    I have a slider with the initial major tick value as 50. I change the major ticks during runtime, but the label still remain as the default itself(that is 0.50,100). For eg, if i change the major tick to 20, i want the labels to change to 0,20,40..100. how can i do this?

    Hi Doug,
    For point 1, see this post:
    PIE CHART Label
    For point 2 - well, I don't think it is possible. Legend can only have column names, and it is not possible to change / assign the column names dynamically. Though it is possible to have dynamic parameters at other places in the graph, eg, the title, footnote, etc, but since the legend comes from column names in the data model, I don't think this is possible, unless you find a way to change the column names dynamically.
    Navneet.

  • Hide group labels on a 3D_CUBE_GRAPH

    Is there a way to hide all of the group labels across one of the axis lines on a 3D_CUBE_GRAPH?
    I tried all of the following and only the values listed on the other axis disappear.
    set_custom_property('BeanArea',1,'SHOW_LABELS','x=false,y=false');
    set_custom_property('BeanArea',1,'SHOW_LABELS','x=false,y1=false');
    Thanks,
    michelle

    Michelle,
    call
    set_custom_property('BeanArea',1,'HIDE_AXIS','X');
    to hide the x-axis labels
    set_custom_property('BeanArea',1,'HIDE_AXIS','Y1');
    for the y-axis
    or
    set_custom_property('BeanArea',1,'HIDE_AXIS','XY1');
    to hide both
    Frank

  • Hide Colored Labeled folders from 'All My Files' search criteria

    Okay so I use my MBP (running Mac OS X 10.8.2) for both work and at home. I don't like my work files showing up in the "all my files" area (drives me crazy because i'm constantly using them at work so that's all it shows) and I am trying to figure out a way to hide them from the search criteria. I have labeled all my work files with a 'Green Label' and I was curious if there is a way to hide only the items marked with Green.
    Any help would be nice.

    'All My Files' doen't even show pdf and doc files that I know are on my machine.
    Maybe should be called 'Barely Some of My Files.'
    I went into 'Search Criteria' and put in only one criteria line, searching for "any" file of "any" type.
    This seemed to work.

Maybe you are looking for