Variable X axis?

Hi,
I have seen dashboards with variable Y axis for graphics (line chart etc), but I was wondering whether or not something similar could be achieved for X axis graphs? I want to dynamically ajust the x axis for input but can't see how this can be done?
Thanks

Also the X axis can be dynamic. YOu can select a wider range for your category labels and the values and then in the Behaviour tab you can choose to ignore blank cells.
Which version of XCelsius do you use?
Regards,
Stratos

Similar Messages

  • Chart - variable value axis interval

    Hi,
    I have a line chart and I would like to customize the value axis (y-axis) like this: I have 6 values available: green start (GS), green end (GE), yellow start (YS), yellow end (YE), red start (RS), red end (RE), where GE=YS and YE=RS; I want to have GS as
    the miminum value, RE as the maximum value, and 3 intervals, which will be: RE-RS, YE-YS, GE-GS. Is there any way to do this?
    Thank you!

    Hi AdinaF,
    Based on your description, you want to customize value axis in line chart. The value axis is related to fields in Values dialog box. It is not support use expression to customize value axis label. It just can configure the minimum and maximum values of the
    value axis.
    In order to meet your requirement, we can enable Minor Tick Marks in the line chart to work around the issue. Major Tick Marks to display these RE, RS, YE, YS, GE, GS range values. Minor Tick Marks display the interval of these color values.
    Alternative, I recommend you that submit a wish to the Microsoft Connect at
    https://connect.microsoft.com/SQLServer/Feedback . Your feedback is valuable for us to improve our products and increase the level of service provided.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Loading/reading onboad variables

    When using any of the flex_load... functions with onboard variables, is the data parameter ignored since the data is directed to an onboard variable? I have been passing 0 as the data for all of my onboard var loads and this seemed to work fine, however I noticed that when loading an rpm or rpss from an onboard variable, my axis was essentially disabled(zero velocity?) Is it possible that 0 was used as the data instead of the onboard variable provided?( I verified the variable before the call and it was the correct value).
    The documentation does not say how the data is treated when given an onboard variable. Are there any known side effects?

    Hello,
    Thank you for contacting National Instruments.
    The data input of any flex_load_* function is ignored when an inputVector other than 0xFF (255) is specified. For instance, if you use the flex_load_velocity function, the "velocity" input is ignored and the data is pulled from the location in onboard memory specified by the inputVector parameter.
    For the flex_load_velocity function, four variables are required for the data. This is because the data is stored and passed to the function as a 64-bit floating point value. The data is formatted into four 16-bit words, stored in four adjacent memory locations. For more information on this function and the other functions, please refer to the "Onboard Variable, Input, and Return Vectors" entry in the
    "General Information" category of the NI-Motion Function Help.
    I experimented with this function and used variables 1, 2, 3, and 4 with the values 0x4000, 0x407F, 0x0, and 0x0 respectively. This specifies a velocity of 500 RPM, calculated by IEEE conversion methods. Also note that the order of the words is swapped (in other words, the actual 64-bit value for 500 is 0x407F 4000 0000 0000, and the corresponding variable order is 2, 1, 4, 3).
    This website was very helpful when converting between decimal and hexadecimal IEEE 64-bit floating-point numbers.
    Hope this helps to clarify the situation.
    Best Regards,
    Jesse D.
    Applications Engineer
    National Instruments

  • Flash AS3 - 3D engine help - masks & layers

    I am trying to create an AS3 3D engine, it has gone well so
    far, but I am slightly stuck with how to make my character move
    'behind' and object (eg. so if he walks behind a box, you can't see
    his legs). He must also be able to walk in front of the object.
    The character has a variable z axis, so it is impossible to
    define exactly which objects will be in front or behind the
    character.
    It would be useful if I could do it without the use of
    layers, but not neccessary. Any ideas?
    thanks in advance.

    you wanted to say: "The character has a variable z axis, so
    it is
    possible to define exactly which objects will be in front or
    behind the character."
    the objects must be in the same layer and U can control the
    order with swapDepths

  • Master encoder input for Gearing (softmotion)

    Hey,
    I have a cRIO with a NI9411 Cmodule set up for quadrature mode, which gives position and veloctity.
    I have a motor axis (servo) which I want to move in sync with the encoder input, and I was thinking to do this with the gearing express vi, which has to option to use a "master encoder" for input.
    my question:
    how do I use the input from the NI9411 as a input for the gearing express vi?

    I've attached some code that should do what you want. It uses a User Defined Variable (UDV) axis to read the encoder from the NI 9411 and then gears the Kollmorgen servo to the UDV axis. Let me know if you have any questions about the code.
    The Kollmorgen AKD drive will allow you to do electronic gearing without the use of SoftMotion. However, you would not be able to also control it over EtherCAT. If you are interested in this method, let me know and I can describe it to you.
    Thanks,
    Paul B.
    Motion Control R&D
    Attachments:
    Gearing.zip ‏270 KB

  • EKG signal acqusition various questions

    I have to create this kind of system.. not a final products just some student project>
    Acqusitoin of 3 channel EKG using USB NI-DAQpad 6015. I am using LabVIEW and NI-DAQmx of course..
    I need soem ideas for next few problems:
    How to make>
    1. EKG looking graph... if I get 3 channels from NI-DAQpad and put them on one waveform there are one over another.. how to "separate them"
    2. Is it easier to acquire 3 channels separatly and then join them graphically on front panel
    3. How to simulate various paper speed of real EKG device...
    4. Generally how to make display look as close as it get to the original
    Thank you in advance Dusan

    1. EKG looking graph... if I get 3 channels from NI-DAQpad and put them on one waveform there are one over another.. how to "separate them"
    2. Is it easier to acquire 3 channels separatly and then join them graphically on front panel
    If you are using graphs, you have to represent each channel's data on a seperate graph to avoid overlapping of individual channel data
    However, if you represent data on a chart, just increase plot legend to show three channels and right click on the chart -> select 'stack plots'.
    Now you will get  3 stacked plots with different y axis but same x axis
    3. How to simulate various paper speed of real EKG device...
    Well, in an EKG, the stylus moves on the chart and you set the rolling speed to plot with variable x axis scaling
    This is the closest you can do to achieve the same on a Virtual instrument : Just keep setting the x axis scale programatically to make the plot appear like it is running faster or slower.
    This can be done using "X Scale.Offset and Multiplier:Multiplier" property node of the graph, Look at attached VI
    4. Generally how to make display look as close as it get to the original
    Right click on charts, go to advanced, select update mode and select any one of the following modes
    strip chart
    scope chart
    sweep chart
    Decide which best suits your purpose
    Hope this helps
    Regards
    Dev
    Message Edited by devchander on 01-20-2006 06:32 AM
    Attachments:
    CHART_1.vi ‏130 KB

  • How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?, How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?

    How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?, How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?

    Hi Libby,
    Select all three columns of data. All three must be 'regular' columns, not Header columns, and the X values must be in the leftmost column.
    Click the Charts button and choose the Scatter chart.
    The resulting chart will initially show only the first and second columns of data, and the selection will have been reduced to show this.
    Click the gear icon at the top left of the selection and choose Share X Values.
    You should see a result similar to this:
    Notes:
    The values on my sample table contain a random element, so they have changed from thhe first image to the second.
    The chart is as created by Numbers, with two edits:
    Data points have been connected with curves, using the Chart nspector.
    The curves were selected and their stroke increased to 2pts, using the stroke formating button in the format bar.
    Regards,
    Barry

  • Y Axis Scale variables

    Are the Low and High ends of the Y axis, variables in
    ColdFusion? If so, what are their names?
    here's an exerpt of my chart:
    <cfchart scalefrom="#SmallestDataValue#">
    <cfquery name="getData" datasource="#DataSource#" />
    <cfchartseries type="scatter" query="getData"
    itemcolumn="Q"
    valuecolumn="Lw" />
    </cfchart>
    It would be great if I could use these values to keep limit
    any additional lines to stay within the existing scale of my
    data.

    Mercie,
    Welcome to SCN!!
    That is how a chart works, when there is huge difference in values displayed on Y Axis...it will not showup when it is set to Auto, and when it is set to manual you will notice that the graph is compressed.
    -Anil

  • Switch between variable and fixed axis

    In my application I want a checkbox labeled: use fixed axis.
    When it's checked the chart's axis both get a maximum. But when you
    uncheck the checkbox the axis should get variabel again (which
    means, get rid of the maximum property).
    This is what I tried, but it doesn't work. You start with
    variable axis, and when you check the box the axis indeed will get
    fixed. But unchecking the checkbox will not get the axis variable
    again.
    quote:
    <mx:verticalAxis>
    <mx:LinearAxis id="vax" displayName="Healed / Mana"/>
    </mx:verticalAxis>
    <mx:horizontalAxis>
    <mx:LinearAxis id="hax" displayName="Healed / Time" />
    </mx:horizontalAxis>
    quote:
    public function fixAx():void
    if (fix.selected) {
    vax.maximum = 1000;
    hax.maximum = 1200;
    } else {
    vax = new LinearAxis;
    hax = new LinearAxis;

    Hi Delodic,
    To change back to a variable axis you need to set the maximum
    to NaN(not a number). this will tell the axis renderer to calculate
    the maximum itself. The update code is as follows:
    public function fixAx():void
    if (fix.selected) {
    vax.maximum = 1000;
    hax.maximum = 1200;
    } else {
    vax.maximum = NaN;
    hax.maximum = NaN;
    Hope this helps

  • Y axis auto scale not working in DIAdem 11

    Hi
    A few years ago I created a user dialog box for selecting and displaying channels in DIAdem view.
    It worked fine for all DIAdem 10.X releases, but for DIAdem 11.X there is a problem with the y-axis scaling.
    The channels are displayd as [n  Systems (Linear)]
    In DIAdem 10.X the y-axis for each separate graph would be scaled automatically accoring to the min. and max. values of the displayed channel.
    In DIAdem 11.X the y-axis for each graph is scaled from 55.0397 to 133.7655.... for all channels, no matter what the values are for the displayed channel.
    When I click the "Zoom Off" button the scaling becomes correct.
    What do I need to put in to my script to make the y-axis scale correctly?
    Below is the code that is used to set the scaling (no scaling for Y axis is set):
        R1 = SelectedStartTime 'this is a variable defined earlier in the code
        R2 = SelectedEndTime 'this is a variable defined earlier in the code
        View.ActiveSheet.Cursor.X1 = R1
        View.ActiveSheet.Cursor.X2 = R2
        View.ActiveSheet.Areas(1).DisplayObj.XScaling = "RangeZoom"
    I've tried adding this code, to no effect:
        View.ActiveSheet.Areas(1).DisplayObj.YScaling = "n systems [phys.]"
        View.ActiveSheet.Areas(1).DisplayObj.YScalingMode = "automatic"
    Solved!
    Go to Solution.

    I tried with Macro recording and Ctrl+A and the result was
    Option Explicit 'Forces the explicit declaration of all the variables in a script.
    R1 = 30
    R2 = 52
    Call View.NewLayout()
    View.Sheets("Sheet 1").Areas("Area : 1").DisplayObjType = "CurveChart2D"
    Dim oMyDisplayObj
    Set oMyDisplayObj = View.Sheets("Sheet 1").Areas("Area : 1").DisplayObj
    oMyDisplayObj.Curves.Add "[1]/Time", "[1]/Speed"
    oMyDisplayObj.YScalingMode ="automatic"
    oMyDisplayObj.Abscissa ="X-Cursor"
    oMyDisplayObj.Ordinate ="Y-Cursor"
    View.ActiveSheet.Cursor.X1 = R1
    View.ActiveSheet.Cursor.X2 = R2
    View.Sheets("Sheet 1").Areas("Area : 1").DisplayObj.XScalingMode = "RangeZoom"
    WndShow "VIEW", ""
    which seems to work fine. So there is only one difference to your code which is
    .XScalingMode
    instead of XScaling. Does changing this work with your code?

  • Use of Return and Notify_url variables offered by PayPal

    I have been integrating PayPal into my application (ASP NET MVC) where I made some analysis about PayPal (went through their documentation about the integration). Created a PayPal sandbox account and can transfer the amount.What I want to know is about the `return` and `notify_url` variables. I have enabled `auto return` in my account and also enabled `PDT`. My form variable is like this:<input type="hidden" name="notify_url" value="http://localhost:xxx/xx/Notify">
    <input type="hidden" name="return" value="http://localhost:xx/xx/Return">As I have surfed in net, what they state about `Return` and `notify_url` is:> The "return" URL to which PayPal redirects buyers’ browser after they complete their payments. For example, specify a URL on your site that displays a “Thank you for your payment” page. Default is nothing is specified – PayPal redirects the browser to a PayPal webpage. Note, you must have "Auto Return" enabled in your Account Profile settings in order for this variable to work.
    >PayPal returns data back to your site via what they call IPN. Its really just a callback to a URL you specify. You can set this URL via the variable `notify_url` you can send to PayPal.From the above quotes what I understand is that PayPal will post `IPN` variables to `notify action` once the payment done before auto redirecting to the page I set (I mean customer may go the application page or they may close the session).But only return action alone hitting not the `Notify_url`.Correct me if I misunderstood the concept and let me know if it was still Unclear.

    Yes, it's not present in the code I have posted but I have tried this as well.
    It didn't work, as expected, because soap/axis is on top of http and not https and because my proxy uses http as well (or at least that's what I have learned so far).
    In fact, I have tried all combinations between http.\*, https.\*, and Authenticator without success.
    I think the problem is more soap/axis related. The solution for axis2 seems somewhat 'trivial' (and well explained over the web) while it's not for axis1.
    Regards
    Rob
    Edited by: RobR on Nov 29, 2007 4:37 AM
    Edited by: RobR on Nov 29, 2007 9:56 AM

  • How can I change the Y-axis (circular) grid spacing, in Polar Plot VI?

    When using Polar Plot VI, I need more control over the plotting parameters. This means tweaking the sub-VIs in various ways. What I need to do most is make the polar magnitude axis less busy, i.e. only draw circles every 10 instead of every 5 divisions, when using a range of 0 (outermost) to -80 (innermost).
    The magic 'magnitude axis subdivisions' variable seems to be generated in Calc Scale Specs sub-VI, and output as an array of clusters, but I can't quite see how it's created and from what.
    Please can anyone help me gain control over the number of magnitude division circles generated?
    Many thanks!

    I think if you go inside the Calc Increment.vi and modify the Increment output terminal it might change what you want to see. Try putting a multiply by 5 or ten into the case structure for when the log is false.
    Attachments:
    polar plot calc increment.jpg ‏90 KB
    modify calc increment.jpg ‏104 KB

  • Limiting rotation of Transform to one axis at a time.

    I have a situation where I want to force a transform returned from a picking tool to only rotate around or translate along a single axis. To do this, I'm using the transformChanged() function shown below. It works fine for the translation changes, but has problems for the rotation case. If the rotations are about one axis only it's ok, but when rotations are combined (30 degrees on X, then 60 degrees on Y) say, the object flips around in strange ways.
    I understand that my approach to the rotation limit was too simplistic, but none of the other approaches I've tried has worked either. I'm very new to Java3D programming and have run out of ideas, can anyone else suggest something to try?
    // Callback from Picking tools.
    public void transformChanged(int type, TransformGroup tg)
        if((selObj != null) && (tg != null))
            // Get the current Transform3D
            Transform3D current = new Transform3D();
            tg.getTransform(current);
            // Get the current transform vector
            Quat4f currQuat = new Quat4f();
            Vector3f currVect = new Vector3f();
            current.get(currQuat, currVect);
            double currScale = current.getScale();
            System.out.println("transformChanged - scale = "+current.getScale());
            // Set global current variables
            curPosition = currVect;
            curQuat4f = currQuat;
            // Only allow movement on the chosen axis
            if(moveX)
                if(type == PickingCallback.TRANSLATE)
                    currVect.setY(oldPosition.getY());
                    currVect.setZ(oldPosition.getZ());
                else if(type == PickingCallback.ROTATE)
                    currQuat.setY(oldQuat4f.getY());
                    currQuat.setZ(oldQuat4f.getZ());
            else if(moveY)
                if(type == PickingCallback.TRANSLATE)
                    currVect.setX(oldPosition.getX());
                    currVect.setZ(oldPosition.getZ());
                else if(type == PickingCallback.ROTATE)
                    currQuat.setX(oldQuat4f.getX());
                    currQuat.setZ(oldQuat4f.getZ());
            else if(moveZ)
                if(type == PickingCallback.TRANSLATE)
                    currVect.setX(oldPosition.getX());
                    currVect.setY(oldPosition.getY());
                else if(type == PickingCallback.ROTATE)
                    currQuat.setX(oldQuat4f.getX());
                    currQuat.setY(oldQuat4f.getY());
            // Set old global variables.
            oldPosition = currVect;
            oldQuat4f = currQuat;
            // Set the rotation and position back
            // into the transform.
            current.set(currQuat, currVect, (float)currScale);
            // Set the Transform3D back into the TransformGroup
            try
                tg.setTransform(current);
            catch(BadTransformException btex)
                System.out.println(btex);
                System.out.println("current transform = \n"+current);
    }Edited by: billphil on Mar 17, 2008 10:56 AM
    Edited by: billphil on Mar 17, 2008 11:07 AM
    Edited by: billphil on Mar 17, 2008 11:18 AM
    Edited by: billphil on Mar 17, 2008 11:21 AM

    thanks!
    i have tried using a file as a shared resource, and i
    can now check whether an instance of my application
    is already running. however, i can't make the
    currently running application window to be
    automatically displayed after the checking. Ar running application could listen on a port so you could tell it to display itself by using TPC/IP. This would require some additinals code in your app, but that shouldn't be a real problem.
    If you shared resource is already a port then you could use this port. And if it is a file you could add some additionla information to this file. Like the port number. In this case you could avoid having to use a predefined port (that could be already used by a a completely different app even though it is not very likely) by using an anonymous ServerSocket (by using "new ServerSocker(0)" and "getLocalPort()")

  • Invoking a AXIS Web Service with a Java object as input argument

    Hi
    I've been trying to execute a bpel process that invokes a web service deployed through axis.
    This web service takes a java object as input argument as opposed to data types that are directly mapped to java types through the SOAP engine.
    I deployed and tested the service outside of BPEL using a test client class. Everything works well.
    When I try to configure the "Assign" and "Invoke" activities so that service can be invoked, I cannot see the data structure through the variable picker and I see the following message:
    "The element {urn:ComplexTypeWebService}TimeSheetBean is not know to the schema container. Perhaps a schema file that uses it needs to include or import its definition.There mat also be an XML schema issue (non resolvable schema) which prevents {urn:ComplexTypeWebService}TimeSheetBean from being seen by the schema processor."
    Is there any example that demonstrates how to invoke an axis web service in such scenario? What am I doing wrong?
    Please, let me know.

    The passing of Java objects in and out of a web service is NOT supported. variables must be xml documents defined by a XML schema. In my opinion, missing Java object and WSDL is not a good idea. -Edwin

  • BO Webi: How to populate a variable with the set of static values for Graph

    Hi All,
    I have the data: Order number, Order Date, processing time coming from the SAP Bex query in the below format:
    Order No    Order Date    Processing time (Days)
    1                 Jan-2011      4
    2                 Jan-2011      5
    3                 Feb-2011      6
    In BO webi report, I have to report the number of orders which were processed in <1day, <2days, <3days,...<10days in a graphical view. i.e., X-Axis:  <1day, <2days, <3days,...<10days(10 static buckets for the processing days)
    Y-Axis: Number of Orders.
    The graphical output should be like below:
    X-Axis: <1day, <2days, <3days,<4days,<5days,<6days,<7days,<8days,<9days,<10days
    Y-Axis: 0, 0,0,0,1,2,3,3,3,3  (count(Order No)) (Cumulative count)
    I am able to calculate the number of orders individually for each of the 10 buckets. But the problem i am facing is that I am not able to hold the 10 static bucket values in a variable to use it for the x-axis in the Graph, as these 10 static bucket values are not coming from the backend source.
    I would like to know if there is way to populate a variable(to use it for the X-Axis in the graph) with the set of 10 static values.
    Any help would be highly appreciated.
    Thanks,
    Leela

    Hi ,
    I think we can use the variable as X-axis in chart.. but Variable Qulaification should be Dimension.
    can you try this?.
    Using efasion universe
    1) Select month and Sold at (unit price) , then run the query
    2) create the variable V_Month ==If [Month]=1 Then "Month1" Else "Month2"  (Note = Variable Qulaification should be Dimension)
    3) Create the variable V_Sum= sum (Sold at (unit price))
    4) create another variable V_Cumulative_Sum==[V_Sum]+Previous([V_Sum])
    Now add V_Month and V_Cumulative_Sum in table , then convert to chart.. now you can add the variable V_Month as X-axis of the chart.
    Hope this will help:)
    Thanks
    Ponnarasu K

Maybe you are looking for

  • The latest iTunes software 12.1.2 won't download.

    Is anyone have any issues with downloading the latest iTunes software 12.1.2? 

  • Problem updating to Belle without PC

    Hi, I'm on Mac and as "http://www.nokia.com/softwareupdate" says I need to update from the device, but the phone tells me I can only update using PC Suite and don't let me do anything else. How do I do with this? Regards, Alexander Solved! Go to Solu

  • Disable every node except one

    Hi, I building a game on javafx. At some point I need to ask some questions (for example "Sure to quit Y/N") I bring up a Node at the top of others with 2 buttons, but I need to disable everything at the bottom (many other controls, images, text inpu

  • Colors & Photo quality unacceptably degenerates once published at .mac

    Deciding if I'll move my website (published using the Earthlink Trellix site builder) over to .Mac using iWeb then cancel my Earthlink account and renew my about to expire .mac account. I built one webpage using iWeb and published it to .mac - I used

  • Runtime errors  DBIF_REPO_SQL_ERROR

    Hi All , When i am creating source system selected Replicate as well opition ,its giving runtime error "DBIF_REPO_SQL_ERROR". Short Text :SQL error "-1000" occured when accessing the program