Tick color property for XY graph

I wish to change the tick color of XY graph programmatically. Then my program written as below. My bar graph contains 4 y scales. So i think the for loop should not be a problem. However, i get the error which stated ' Specified property not found'. Can somebody explain to me what is the cause of this error? Thank you

Tim,
Thank you for bringing this to us.  We are aware of the issue where using the XScale,TickColors,AllElements returns the error 1058 and are looking into fixes.  Hopefully using the other two XScale,TickColors Properties will provide what
you need at this time.
Thanks again,
Scott A
SSP Product Manager
National Instruments

Similar Messages

  • Tick colors Property node bug

    I found a bug in 8.5 tonight.  The attached VI will demonstrate the issue.
    If you attempt to get the Tick Colors by cluster, you will get an error indicating that the property doesn't exist.  If you get the Tick Colors by individual name, you won't get the error.
    This applies to all plot types.
    Message Edited by Matthew Kelton on 12-30-2007 02:30 AM
    Attachments:
    Plot Property bug.vi ‏22 KB

    This was reported to R&D (4BA3OC8G) for further investigation. A possible workaround is bundling all the separate elements yourself.
    Thanks for the feedback!
    Charlie M. CLD

  • Where is Background Color Property for Text Field Prompt in Developer 6i

    I update all my works from developer 2000 to developer 6i (forms 6.0). All my screens are now irregular becoz, the text field prompt background color property is not present in forms 6i. Can you help me how to solve this prob.
    (one more solution i found is, can do the prompt as separate canvas object, but is there any way to set the background color for prompt entered in text field.)
    Thank you
    Raj

    Hi
    I think there is a bug in the first release of Forms 6i,
    where the prompts got the same backgroung color of the
    related item (in fact, it must have no back color,
    because it has no "background color" property).
    Try applying a patch over it.
    I update all my works from developer 2000 to developer 6i (forms 6.0). All my screens are now irregular becoz, the text field prompt background color property is not present in forms 6i. Can you help me how to solve this prob.
    (one more solution i found is, can do the prompt as separate canvas object, but is there any way to set the background color for prompt entered in text field.)
    Thank you
    Raj

  • Changing color table for intensity graphs

    Hi, I've been working on superimposing intensity graphs and I'm almost getting it, I'm just having trouble with color table, it is suppose to be composed of a 1-D array of 256 colors
    I have 2 intensity graphs each with a different color table (256 color - 256 locations in the color table array). I need to "squeeze" both color table into a third color table for the superimposing of the 2 intensity graphs. therefore I figure I would take every other color value from each of the first 2 color tables (so each color table shrinks to 128 color) and add the values to form a 3rd color table so that the bottom will correspond to the first color table and the top will correspond to the 2nd color table.
    I can do this manually, but it takes WAY too long, so I've been trying to use some kinda of algorism, but I cannot succeed. Anyone have any suggestions? it seems that color table is an unusual kinda of array
    My attempted program is attached.
    thanks very much!!
    Attachments:
    superimposing3.vi ‏111 KB

    Brian,
    I think this is what you're after (attached). The easiest thing to do is to decimate, then concatenate your original color tables to form your new "squeezed" color table. However, keep in mind that you also have to squeeze, or remap, your underlying data values to correspond with either one half of the color table or the other.
    See if what I did makes sense.
    Regards,
    John
    Attachments:
    superimposing3_MOD.vi ‏90 KB

  • OT: Color palettes for pie graphs

    Okay, this is pretty random, but I'll ask.
    I'm busy making a pie chart that has about 15 wedges.  I want to pick a good scheme of colors that have reasonable contrast.  Anyone seen any examples of a good palette for making pie graphs?  I'm randomly picking colors and not really liking the end results.
    That's not an InDesign question (in fact, I'm working in Illustrator, and this is a design question rather than a software question!), but this is the board where I spend most of my time.  So I thought I'd post something off-topic.  Anyone have any suggestions?
    Thanks, Phyllis

    Consider using fewer colours. Yes, that means fewer wedges. That means merging the smallest 10 or so wedges into one “other” slice. If you, or your patron, insist on using all 15 values, consider then making a second, smaller pie to illuminate the contents of the “other” slice.
    Another option is to use patterns or gradients to expand the display options without requiring 15 distinct colours.
    Finally, if you must have all 15 slices and must use solid colours, then do not use a legend. Label each slice either on the slice itself or with a line pointing to it. The alternative to that is a key with 15 labels and 15 colours, some of which will not have much difference, so there may be confusion about which colour is used in some slices.
    Remember: charts are supposed to make data easier to understand. All to often they don’t.

  • Default Colors Limit for Graph in OBIEE 11g

    Hi, I'm using OBIEE 11g (11.1.1.6.6)
    When I use a graph (either bar or pie), I notice that OBIEE only has 12 default colors to use in the graph. So it starts from blue, red, and so forth, until the 12th color, then for the 13th color it will use the same blue again, and so forth.
    The problem is that my column values are more than 12 (it could be 20, it could be 30, etc). So, the repeating colors doesn't make any sense for the graphs.
    Could somebody please advise me on how to increase the default number of default colors used by OBIEE (so that it will be like 50 default colors set automatically by OBIEE, just in case)?
    Thanks so much!

    Hi,
    type HexaDecimal colors in google you will find n number of colors with the code number, just use this color codes by adding# before every code in the column format properties.
    for ex: #ccc99
    Follow this follwoing link
    http://www.google.co.in/imgres?imgurl=http://howto.websitespot.com/images/hexadecimal-color-chart.gif&imgrefurl=http://howto.websitespot.com/hexadecimal-colors/&h=706&w=498&sz=63&tbnid=9_3i-3tIMDNffM:&tbnh=91&tbnw=64&prev=/search%3Fq%3Dhexadecimal%2Bcolors%26tbm%3Disch%26tbo%3Du&zoom=1&q=hexadecimal+colors&usg=__nWfHEFVvPfjMfZyq2MxXkhJ-288=&docid=FXj6mM0pc4RQTM&hl=en&sa=X&ei=FDxJUc2cDqS8iwKetICACQ&sqi=2&ved=0CEAQ9QEwBA&dur=280
    Mark if Helpful/correct.
    revert me for any queries
    Thanks
    Edited by: 934322 on Mar 19, 2013 9:38 PM

  • Class for drawing graphs??

    hello out there,
    is there a class in java how is able to draw graphs (like f(x)=x^2)??
    thanks for your help

    import java.awt.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class GraphingTest
        public static void main(String[] args)
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new GraphingTestPanel());
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class GraphingTestPanel extends JPanel
        final int PAD;
        public GraphingTestPanel()
            PAD = 20;
            setBackground(Color.white);
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            double w = getWidth();
            double h = getHeight();
            double yInc = (h - 2*PAD)/20.0;
            double xInc = (w - 2*PAD)/20.0;
            // ordinate
            g2.draw(new Line2D.Double(w/2, PAD, w/2, h - PAD));
            // tick marks and labels
            double x = w/2, y = PAD;
            for(int i = 0; i <= 20; i++)
                g2.draw(new Line2D.Double(x - 2, y, x + 2, y));
                if(i % 5 == 0 && i != 10)
                    g2.drawString(String.valueOf(10 - i), (int)(x + 5), (int)(y + 4));
                y += yInc;
            // abcissa
            g2.draw(new Line2D.Double(PAD, h/2, w - PAD, h/2));
            // tick marks and labels
            x = PAD; y = h/2;
            for(int i = 0; i <= 20; i++)
                g2.draw(new Line2D.Double(x, y - 2, x, y + 2));
                if(i % 5 == 0 && i != 10)
                    g2.drawString(String.valueOf(i - 10), (int)(x - 9), (int)(y + 12));
                x += xInc;
            // plot function y = x^2;
            g2.setPaint(Color.red);
            for(int i = -10; i <=10; i++)
                double square = i * i * yInc;
                //double linear = i * yInc;
                //double constant = /*constant ==*/ 3 * yInc;
                //y = h/2 - (square + linear + constant);
                y = h/2 - square;
                x = w/2 + i * xInc;
                g2.fill(new Ellipse2D.Double(x - 2, y - 2, 4, 4));
    }

  • How to use visual attribute property for the tab canvas

    Hi all,
    i wanted to use set_tab_page_property ,and a visual attribute property for that
    respective tab page .
    but is saying to many declarations to match up . how will i able to do that.
    can any one helip me out ...
    example....
    i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
    can anyone help me out in this.
    thanks in advance
    vardhi

    Hi all,
    i wanted to use set_tab_page_property ,and a visual attribute property for that
    respective tab page .
    but is saying to many declarations to match up . how will i able to do that.
    can any one helip me out ...
    example....
    i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
    can anyone help me out in this.
    thanks in advance
    vardhi

  • Possible to supply a hex value to solid's color property?

    I know the AE Scripting Guide specifies that we have to supply an array of RGB values if we wish to change a solid's color property.  I'm just curious if it is possible to supply a hex value in lieu of an RGB array.  Does anybody have any experience with a work around?
    Thanks!

    Dan,
    Just wanted to add that I didn't realize your function assumed the hex color value would be passed in as `0xFFFFFF`.  My data was passed in as a string such as `FFFFFF`.  To fix, I just added one line:
    function hexToColor(theHex){
      theHex = parseInt(theHex,16);
      var r = theHex >> 16;
      var g = (theHex & 0x00ff00) >> 8;
      var b = theHex & 0xff;
      return [r/255,g/255,b/255];
    Thought this might help somebody who had the same data coming in question.  Thanks, again for the help.

  • How to Generate Event on change in Plot Legend for XY Graph

    Hi,
    I have two XY graphs on the front panel and would like to maintain a common plot legend such that any change in the plot legend affects both graphs.
    Objective: I would like any value change in plot legend to fire an event.
    How do I program that?
    I know of value change event for the graph but am unable to find something specific to the plot legend. Other option is to have the user press a "refresh" button that will fire the event.
    Feel free to share thoughts on other elegant methods to achieve the same objective.
    Thanks,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    Hi Sarah,
    Looks like you are talking of exactly what I want!
    I have attached a sample VI to try achieve what I want. But it still has some issues which are:
    1) I am unable to configure a Plot Attribute Change Event. I have used a mouse leave event instead. How does one configure a Plot Attribute Change Event?
    2) Is there no single property which will transfer all the settings of plot legend from one graph to plot legend of another graph? In my sample VI, I have to read each property of the master graph and feed it into the slave graph.
    Kindly note I am using LV FDS 7.1 on Win2000
    Thanks,
    Gurdas
    Message Edited by Gurdas on 03-27-2006 11:51 PM
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu
    Attachments:
    Graph_PlotLegend_Event.vi ‏45 KB

  • I hired a commercial artist to create a color image for the cover of a self published book. I want a black and white image for the inside. The commercial artist has not responded to this request. How do I determine the format of the color image, I'm guess

    I hired a commercial artist to create a color image for the cover of a self published book. I want a black and white image for the inside. The commercial artist has not responded to this request. How do I determine the format of the color image, I'm guessing it's Illustrator's formatting but I don't know. How can I find out if Illustrator will open the file and allow alterations? The image opens only in Apple's Pages software?

    rons,
    It seems that all you have is a raster image, presumable PNG24 or JPEG, in RGB.
    It may have been created as raster artwork in Photoshop, or it may have been created as vector artwork with the help of Illy, or as a mixture of vector and raster artwork in either application, or both combined.
    If you just need to have a raster representation in black and white based on the current colour image, you may try this, in a new RGB document (View>Smart Guides are your friends):
    1) File>Place the image (you may tick Link or untick and have it embedded);
    2) Create a rectangle with black fill (R = G = B = 0), at least as large as the image, and place it behind the image (you may ClickDrag with the Rectangle Tool between opposite corners, then Ctrl/Cmd+X+B);
    3) Select all and in the Transparnecy palette flyout click Make Opacity Mask with both Clip and Invert Mask ticked.

  • 10g Graphs - How to customize the default color of a Bar Graph

    Hi,
    I've posted this thread in Reports section, have received no reply yet. Maybe no one has ever tried this before!!
    I am porting a couple of 6i OGD's to 10g graphics.
    Basically I am invoking reports from a form. The reports contains embedded Graph.
    Here comes the tricky part.
    I have a couple of Graphs in 6i that display each bar of a bar graph in different color.
    Example:
    Value       Bar Color
    Critical     Red
    Major       Orange
    Minor       Yellow
    None       GrayQ) I want to know how to set the color of each bar of a bar graph based on the value it takes. i,e If it's critical the bar should be displayed in red. If it's major, the bar should be displayed in orange.
    I added conditional formatting in 10g Graph, and this is the trigger that was created.
    function CT_1FormatTrigger return boolean is
    begin
      -- Automatically Generated from Reports Builder.
      if (:f19 > -1)
      then
        srw.set_foreground_border_color('yellow');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('yellow');
        srw.set_fill_pattern('solid');
      end if;
      -- Automatically Generated from Reports Builder.
      if (:f20 > -1)
      then
        srw.set_foreground_border_color('red');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('red');
        srw.set_fill_pattern('solid');
      end if;
      return (TRUE);
    end;When I try to invoke the above report from the form, I get the error: FRM-41214: Unable to run report.
    If I remove conditional formatting, I am able to invoke the report from the form with the default color in the embedded graph.
    Hopefully someone has ideas on this!
    Thanks

    Why don't you use the build-in charting capability of reports 10g instead? There is FormsGraph.jar implementation for forms but that might not have the flexibility of what 6i graphs has/had and not "officially" supported - not like the reports 10g charting capability (which is built in and can be customized by editing the related xml files (if necessary). Note: FormsGraph.jar has it's own limitations

  • Legend for 3d graph

    I want to know how to make a legend for 3d graph.
    I actually posted my question on the following thread but since there havent been any replies, I thought I could just post it here.
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=160715#M160715
    Please click on the link for my question.
    Thanks.

    Hi kmo,
    I'm sure it is possible to get a color map... but I'm affraid I could'nt get to the result you wish I think I'm not far..
    Maybe somebody knows hox to get it from the variant, I am not used to use these "tools": Sory...
    If you don't need a real 3D graph, it might be easier to use an intensity graph.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    Wafer.vi ‏99 KB

  • Adobe Form - Object property for FormCalc/Javascript

    Hi All
    I'm learning to use Adobe Form - FormCalc/Javascript - In some of the examples that I have seen fofar
    the codes (FormCalc/Javascript) used a qualified name of an object property for setting value i.e.
    In FormCalc:
    DateTimeField1.rawValue = num2date(date(), DateFmt(3))
    In Javascript:
    this.rawValue = xfa.layout.pageCount();
    pantsWaist.border.edge.color.value = "255,0,0";
    pantsLength.presence = "hidden"
    etc..
    Could someone please tell me how/where I can get the property list that available for an object ?
    (i.e. rawValue, presence, value etc...) I can't see on the Form builder (sorry for such a novice question - but as I said I am very new)
    Thanks
    Points will be rewarded for any reply -

    Hi Liem,
    Whenever u press a "." after any oject say $ in FormCalc, or this in Javascript u will find relative properties that u can set at that time for the mentioned object.
    try this, place a Text field, select that and go to script editor, select language FormCalc:
    write $. and u will find a dropdown that'll show u possible list of properties u can change.
    Similarly, if u try this with "this." in JavaScript another dropdown will show u possible list of properties that u can change.
    Hope this helps
    Regards
    Amita

  • How do i get a colormap for intens graph using basic imaq

    This is a follow up to
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000B58D0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=how+do+i+get+a+colormap+for+intens+graph+using+basic+imaq&USEARCHCONTEXT_QUESTION_S=0
    where I asked for help getting a colormap for saving an image as a jpeg. Now, I have decided that I would like to use an intensity graph for my display of the RGB image that I have captured using my pci-1411 frame grabber board. How do I get the right colormap for the intensity graph display? I do not have vision and do not intend to purchase it. I am using the basic IMAQ package.
    jc
    Mac 10.4
    LV7.1
    CLD

    Dear Sir, usually the intensity graph will help you with monochrome images, since they have a one color intensity. If you want more colors you will be able to get up to 256, and not true color (24 bit). You might want to use the Picture Control instead or a Child Window approach, please look in your Help menu, 'Search IMAQ Examples...' and then browse for IMAQ examples and choose the ones that are for Picture Control. For the Child Window look in our website for an example called 'IMAQ Display Without IMAQ Vision'.
    Good luck!
    Nestor.
    Nestor
    National Instruments

Maybe you are looking for