How can I make a chart ignore cells until their value is changed from 0?

In the corresponding table, I used conditional formatting to hide zeros in the highlighted row by conditionally changing the text color to that of the table background. However, the zero value's are still represented in the corresponding chart as you can see in the attached photo . How can I make the chart ignore certain cells only until their values are changed from zero? Thanks in advance!
Ryan

Hi Ryan,
Leave the cells empty until they're needed, or, if the cells' contents are determined by a formula, revise the formula to insert a null string if the value is zero.
=IF(your formula = 0, "", your formula)
Regards,
Barry

Similar Messages

  • How can I make the combo box turn to the value of black.

    When the show button is pressed (and not before), a filled black square should be
    displayed in the display area. The combo box (or drop down list) that enables the user to choose the colour of
    the displayed shape and the altering should take effect immediately.When the show button is pressed,
    the image should immediately revert to the black square, the combo box should show the value that
    correspond to the black.
    Now ,the problem is: after I pressed show button, the image is reverted to the black square,but I don't know
    how can I make the combo box turn to the value of black.
    Any help or hint?Thanks a lot!
    coding 1.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class test extends JFrame {
         private JPanel buttonPanel;
         private DrawPanel myPanel;
         private JButton showButton;
         private JComboBox colorComboBox;
    private boolean isShow;
         private int shape;
         private boolean isFill=true;
    private String colorNames[] = {"black", "blue", "cyan", "darkGray", "gray",
    "green", "lightgray", "magenta", "orange",
    "pink", "red", "white", "yellow"}; // color names list in ComboBox
    private Color colors[] = {Color.black, Color.blue, Color.cyan, Color.darkGray,
                              Color.gray, Color.green, Color.lightGray, Color.magenta,
                              Color.orange, Color.pink, Color.red, Color.white, Color.yellow};
         public test() {
         super("Draw Shapes");
         // creat custom drawing panel
    myPanel = new DrawPanel(); // instantiate a DrawPanel object
    myPanel.setBackground(Color.white);
         // set up showButton
    // register an event handler for showButton's ActionEvent
    showButton = new JButton ("show");
         showButton.addActionListener(
              // anonymous inner class to handle showButton events
         new ActionListener() {
                   // draw a black filled square shape after clicking showButton
         public void actionPerformed (ActionEvent event) {
                             // call DrawPanel method setShowStatus and pass an parameter
              // to decide if show the shape
         myPanel.setShowStatus(true);
                   isShow = myPanel.getShowStatus();
                                            shape = DrawPanel.SQUARE;
                        // call DrawPanel method setShape to indicate shape to draw
                                            myPanel.setShape(shape);
                        // call DrawPanel method setFill to indicate to draw a filled shape
                                            myPanel.setFill(true);
                        // call DrawPanel method draw
                                            myPanel.draw();
                             myPanel.setFill(true);
                             myPanel.setForeground(Color.black);
                   }// end anonymous inner class
         );// end call to addActionListener
    // set up colorComboBox
    // register event handlers for colorComboBox's ItemEvent
    colorComboBox = new JComboBox(colorNames);
    colorComboBox.setMaximumRowCount(5);
    colorComboBox.addItemListener(
         // anonymous inner class to handle colorComboBox events
         new ItemListener() {
         // select shape's color
         public void itemStateChanged(ItemEvent event) {
         if(event.getStateChange() == ItemEvent.SELECTED)
         // call DrawPanel method setForeground
         // and pass an element value of colors array
         myPanel.setForeground(colors[colorComboBox.getSelectedIndex()]);
    myPanel.draw();
    }// end anonymous inner class
    ); // end call to addItemListener
    // set up panel containing buttons
         buttonPanel = new JPanel();
    buttonPanel.setLayout(new GridLayout(4, 1, 0, 50));
         buttonPanel.add(showButton);
    buttonPanel.add(colorComboBox);
    JPanel radioButtonPanel = new JPanel();
    radioButtonPanel.setLayout(new GridLayout(2, 1, 0, 20));
    Container container = getContentPane();
    container.setLayout(new BorderLayout(10,10));
    container.add(myPanel, BorderLayout.CENTER);
         container.add(buttonPanel, BorderLayout.EAST);
    setSize(500, 400);
         setVisible(true);
         public static void main(String args[]) {
         test application = new test();
         application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    coding 2
    import java.awt.*;
    import javax.swing.*;
    public class DrawPanel extends JPanel {
         public final static int CIRCLE = 1, SQUARE = 2;
         private int shape;
         private boolean fill;
         private boolean showStatus;
    private int shapeSize = 100;
    private Color foreground;
         // draw a specified shape
    public void paintComponent (Graphics g){
              super.paintComponent(g);
              // find center
    int x=(getSize().width-shapeSize)/2;
              int y=(getSize().height-shapeSize)/2;
              if (shape == CIRCLE) {
         if (fill == true){
         g.setColor(foreground);
              g.fillOval(x, y, shapeSize, shapeSize);
    else{
                   g.setColor(foreground);
    g.drawOval(x, y, shapeSize, shapeSize);
              else if (shape == SQUARE){
         if (fill == true){
         g.setColor(foreground);
                        g.fillRect(x, y, shapeSize, shapeSize);
    else{
                        g.setColor(foreground);
    g.drawRect(x, y, shapeSize, shapeSize);
    // set showStatus value
    public void setShowStatus (boolean s) {
              showStatus = s;
         // return showstatus value
    public boolean getShowStatus () {
              return showStatus;
         // set fill value
    public void setFill(boolean isFill) {
              fill = isFill;
         // set shape value
    public void setShape(int shapeToDraw) {
              shape = shapeToDraw;
    // set shapeSize value
    public void setShapeSize(int newShapeSize) {
              shapeSize = newShapeSize;
    // set foreground value
    public void setForeground(Color newColor) {
              foreground = newColor;
         // repaint DrawPanel
    public void draw (){
              if(showStatus == true)
              repaint();

    Hello,
    does setSelectedIndex(int anIndex)
    do what you need?
    See Java Doc for JComboBox.

  • How can I make a row of cells containing 3-digit decimals, who's values resulted from calculations within the spreadsheet, appear as durations of minutes and seconds?

    Row 6 in this spreadsheet is the result of Row 2/Row 3 as evidenced by the formula listed while Cell Y6 selected. How can I make the values in this row appear as durations of minutes and seconds rather than 3-digit decimals? For example, rather than appearing as 9.84 I would like the value of Cell Y6 to appear as 9:50 or 9min 50sec. (obviously .84x60seconds 50 seconds). I tried changing the cell formats from "number" to "duration," but no change is made. Using the "duration" format does however work if I am manually entering the decimal value into the cell rather than allowing it to result from another caluclation within the spreadsheet. Is there a solution to this within Numbers '09? You can see why I would want the "pace" displayed in minutes and seconds. Thanks in advance!
    Ryan

    Hi Ryan,
    You wrote:
    "The problem is that my "Distance" is a row of automatically generated values resulting from ((Row1/60)*Row 6). Changing the format of Row 1 to minutes causes row two to be expressed as a duration, which obviously it shouldn't because it is a distance. The spreadsheet has to be designed so that all I have to manually input on each entry are Row 1 Values (Time) and Row 6 Values (Average Pace). The rest of the cells must be automatically poulated as a result of formulas."
    I'm assuming that where you say "Row 1" in this you mean "Row 2", which is labeled "Time" in the example in the OP.
    In the original post, you presented a formula from cell Y6. Replacing the Header labels in that formula's cell reference with the Addresses of the referenced cells, the formula was:
    Y6: =Y2/Y3
    In this post, you are saying that Y6 contains entered data: "...all I have to manually input on each entry are Row 1 Values (Time) and Row 6 Values (Average Pace).
    Which is correct?
    Regards,
    Barry

  • How can I make a list and after selecting a value, avoid displaying it.

    Let's say I have a ListBox or a ListOfValues(in Forms), and I have as Data.
    "LEVEL 1"
    "LEVEL 2"
    "LEVEL 3"
    "LEVEL 4"
    and I select "LEVEL 2".
    next time I display the list, (been selected "LEVEL2"), it doesnt display it anymore (unless I clean it or select another value).

    I've search on google but I did not found any tutorial for this particular thing. I found instead this code : 
    on (press) {     startDrag ("", false);   
    this.swapDepths(_global.depth++);
    on (release, releaseOutside)
    stopDrag ();   
    this.swapDepths(_global.depth++);   
    if (this._x > 493.250000 && this._x < 636.050000 && this._y > 142.900000 && this._y < 271.350000)   
       this.removeMovieClip();   
        } // end if
    but I don't know how to make the _x/_y to work, better said I changed  the values but nothing happend, did I did something wrong ? The first _x/_y stands for the position? I've played with the range values but cant seem to make it happend.

  • How can you make the Chart "Color Highlights" Item Condition val a variable

    Hi,
    I have a report with a chart on it.
    The chart has on Item Condition on it to change the color of each bar to red if the value is under a certain value.
    This value needs to be passed in as a parameter to the report.
    The condition looks like this
    if  Avg PerformancePercent < 90 then bar color = red
    The 90 in this condition needs to be set from a parameter P_PerformancePercent_Threshold.
    I am producing the report in Visual Studio 2005 using CrystalReportViewer to display the report.
    Since the value field seems to only take in numeric values I have assumed there is no way to use a parameter something like.
    So I am looking at doing this through code.
    The object model for the ChartObject does not have many properties/methods on it.
    Is there any other way to achieve this?
    Thanks, George

    Functionality using the Crystal Reports SDK in Visual Studio .NET is limited to the appearance of the chart in the viewer such as height and width. See the following for more details;
    [ChartOject Members described|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crlrfCrystalDecisionsCrystalReportsEngineChartObject_MembersTopic.htm].
    [ChartObject Properties described|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crlrfCrystalDecisionsCrystalReportsEngineChartObject_PropertiesTopic.htm].
    99% of this time, if you can not do something at design time, you will not be able to do it at runtime either. See [this|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • How can I make a Chart Item ?

    I read this post :-
    chart item in oracle forms 10g
    but that not what i need ...... what i need is simple explanation of *how to build a Chart item based on Data Block ?*
    I'm using DB 10gR2 , Developer Forms 32 Bit Version 10.1.2.0.2 (Production)
    and Windows XP SP2 64-bit

    It is existing because to support the chart items your created in old versions of forms. However, you cannot use it for "Creating New Charts". It has become useless because, you have other powerful / more featured charting mechanism is available (one of which is BI Graph). So, why do you want to go for Old Chart Items, which has less features than using a full fledged BI Graph?
    -Arun

  • How can I make a menu that loops until it gets a user input?

    Can someone please show me how to make a menu that loops with if statements until a valid choice is made by the user?

    I have a menu similar to the following, but it doesn't loop and when you choose an item it doesn't seem to execute the If statements correctly.
    String input;
    Scanner in = new Scanner(System.in);
    System.out.println("Make a menu choice");
    System.out.println("1) Browse");
    System.out.println("2) Buy");
    System.out.println("3) Sell");
    input = in.nextLine();
    in.close();
    *if (input == "1") {*
    Application choice = new Application();
    choice.browse();
    Note: It doesn't seem to display the output of browse although it looks like it is executing it, why is this? Also, if input = 1 it still executes the else statements too why is this?

  • When I delete an email from my iPad, it deletes from my iMac as well. How can I make it work the other way around - have it delete from my iPad if I delete it from the iMac?

    When I delete an email from my iPad, it deletes automatically from my iMac as well. How do I arrange to have emails I delete from my iMac automatically delete from my iPad?
    Thanks.

    My provider is gmail through Rogers in Canada. I use Thunderbird. My iMac is set for imap. I am unable to find where it tells me what mu iPad is set for. I've checked settings: mail and can't find it.
    Thanks for your help so far.

  • How can I make a control inside a loop in a subVI change value when the calling VI's control changes?

    Hi.
    I think this is a pretty basic LV question, but I have not been able to find a good solution.
    I am attaching VIs that show the problem I am having, but obviously, the real application is a lot complicated, which forces me to try to do it this way.
    The issue is: I have a subVI with a Boolean control inside a loop.  When the control is true I want some action to take place.  When the subVI is run on its own, it works fine, acting properly when I set the boolean control to true via the LV FPGA interface from the host.  However, when I use it as a subVI, in which the top-level VI calls several instances of the subVI, I have the Boolean controls in the top level VI.  What is happening is that the false Boolean value with which the top-level VI starts is passed into the subVIs, and not updated, even though the control is inside the loop.
    Can any one suggest a good solution?
    Thanks,
    AlejandroZ
    Attachments:
    CallingVI.vi ‏7 KB
    subVI.vi ‏8 KB

    Hi.
    I know the example I posted might seem silly, but it was just to illustrate the problem I am having.  In reality this is the application:
    I have some LV FPGA code which uses a few FPGA IO to implement a serial link to communicate with a device.  Most of the time we are getting data from the device, so the serial link is used to send a read command, read in the data and put it into a FIFO.  However, I also wanted the VI to support sending data to the device, so I added an array control to put the data you want to send, and a boolean control to tell it you want to send it.
    Since sending and receiving data are done using the same FPGA IO, they cannot be independent operations, because they would garble each other. Therefore, in the subVI I have a loop in which I first read data if there is any to read, then check the boolean write control to see if there is data to write.
    As I mentioned, this works perfectly for talking to a single device.  However, we run into the issue of this topic when trying to replicate this for several devices.
    One easy solution is to not have the loop in the subVI, and have it in the calling VI (I am favoring this simple solution right now).  The only reason why I have not done this yet, is that the subVI has more than one loop, so I am going to have to create several subVIs.  I just posted to see if there was an even simpler solution...
    There have been some other possibly good solutions proposed here, though I am not sure if they work in LV FPGA.
    Thanks for all your responses.
    AlejandroZ

  • How can I make firefox move my images in development mode - it works from the web and with IE

    Viewing web pages with Firefox from local files does not permit images to be moved. IE does allow this. Moving images from the web are fine. Why is this - code is shown below
    == This happened ==
    Every time Firefox opened
    == I first tried it ==
    == Troubleshooting information ==
    Moving an Image
    Hmove=-100;
    function moveObjRight(obj)
    obj.style.left=Hmove;
    Hmove+=2;
    if(Hmove

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • How can I make the X axis temporally proportional?

    I have a very simple line chart with decimal values on the Y axis and dates on the X axis. The dates are one per row in my source spreadsheet but they are not "evenly spaced". How can I make the chart reflect linear time, plotting the date categories irregulary along a smooth timeline?

    Look forward to the real experts' comments on chart overlays.
    As for date-format for X-axis it took some fiddling for me (sometimes it was greyed out) but it does work.
    Either leave it as Same as Source Data or pick Date and Time and choose one of the many formats available, some shorter than the source data format.
    I haven't figured out how to make specific dates show up on the axis, e.g. in my example it would be nicer to show mid-month and/or month-end dates. Numbers seems to split into intervals based on the number of Steps, with little (no?) control over where intervals begin/end.

  • How can i make a free account on a iPad

    How can I make a free account on iPad 2

    How to Get Apps From the App Store Without a Credit Card
    http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    http://support.apple.com/kb/ht2534
     Cheers, Tom

  • How can i make a graph y is unmber pasing from UDP port,x is the time stamp.and in the same time this graph can display several numbers to compare.

    how can i make a graph
    y is number(the blue wire)pasing from UDP port,
    x is the time stamp.
    plus in the same time this graph can display several differenr numbers to compare.

  • How can I make a table cell extend beyond the page?  The text disappears when the cell becomes larger than the page.

    How can I make a table cell extend beyond a page?  The text disappears when the cell becomes bigger than the page.  I want the table to continue to the next page.

    As a student, you might be able to get Office for Mac from the college bookstore at a substantial discount. Otherwise, I think your best option for documents that need to be shared with Office users is to get one of the free Office clones such as LibreOffice.

  • 3D bar charts export as jagged PDFs - how can I make them smooth?

    I want to export my 3D bar charts as PDFs, but they export without anti-aliasing or smooth vector lines. The bars are jaggy, not clean. How can I make them higher quality?
    I've checked my system settings and those in Acrobat 7 Professional, the 'smoothing' is turned on. I can't find any similar posts here either.
    Any ideas?

    I want to export my 3D bar charts as PDFs, but they export without anti-aliasing or smooth vector lines. The bars are jaggy, not clean. How can I make them higher quality?
    I've checked my system settings and those in Acrobat 7 Professional, the 'smoothing' is turned on. I can't find any similar posts here either.
    Any ideas?

Maybe you are looking for

  • How can I get my games to run smooth with apple tv. I'm getting jerky movement

    How can I get my games to run smooth with apple tv?

  • Clean Windows 8.1 install on Split 13 x2

    I have been unable to solve a Windows 8.1 boot failure on a customer's Split 13 x2.  The system will boot from a Windows 8.1 recovery USB stick that I created.  I can see the volumes on the disk and bcdedit seems to display the correct information bu

  • Webforms menu modification

    webforms menu modification Is there any way to add to or remove functionality from the menu when deploying forms? i.e. the menu that has the 'Action', 'Edit', 'Query', ..., 'Help', 'Window' drop-down menus? Or is this menu static and not changable. I

  • Reading jms message

    how to read the data from jms message, any articles / ideas please direct me.

  • Adobe Form (Dynamic Imgae Display)

    Hello Frn's.... I want to display image resides in SAP Server (SE78) dynamically inside the ADOBE form ..How can i achieve this ? Please provide the solution . Thanks and Regards.... Priyank Dixit