Controling X Axis tick intervals

I would like to control the X Axis tick intervals on a line graph. The data contains a set of values which range from 0 to 100 (a.k.a Exam Marks) and I would like to show 6 interval ticks from 1 to 100 e.g. 1-20-40-60-80-100. I can use the tickLabelSkipCount="1" tickLabelSkipFirst="1" attributes to show less ticks but I can't dictate where the ticks occur.
<?xml version="1.0" ?>
<Graph version="3.2.0.22" markerTooltipType="MTT_NONE" graphType="AREA_VERT_ABS">
<O1TickLabel tickLabelSkipMode="TLS_MANUAL" tickLabelSkipCount="1" tickLabelSkipFirst="1"/>
<O1Title text="FInal Mark" visible="true"/>
<Title text="Mark Distribution" visible="true"/>
<Y1Title text="No of Students" visible="true"/>
<X1Axis axisMinAutoScaled="false" axisMinValue="0" axisMaxAutoScaled="false" axisMaxValue="100" majorTickStepAutomatic="false" majorTickStep="10"/>
</Graph>
Thank you

David,
This is currently not an option within xMII.  The only workaround would be to butt a html table cell up to it and have the orientation go vertical for the words.
Regards,
Erik

Similar Messages

  • Graph control right-hand Y-axis tick marks look like negative signs

    Hi,
    The graph control right-hand Y-axis tick marks just to the left of the numeric values that make up the scale look like negative signs.  It gets confusing for the user of the software.
    The left Y-axis is OK because the little tick marks are to the right of the number.
    Any ideas on how to improve this situation?
    Thanks,
    Kirk Mitchell
    Project Engineer
    Kollmorgen

    Perry,
    First of all thanks for looking at this.
    The tick-marks controlled by the "Mark Origin" option are not the tick marks that are causing the problem.
    The Mark Origin ticks are in the body of the graph along the x=0 and y=0 lines.  They only show up if those lines are visible such as if you have a graph with an x axis range of -100 to +100 and a y axis range of the same.
    The ticks I'm referring to are just to the left of the numeric values that label the right axis.
    Below is a screenshot to illustrate:
    Any other ideas?
    Thanks,
    Kirk

  • Control 4 axis by one wave form

    Hi
    Now I try to control 4 axis stepper motor using one sinusoidai wave form.
    At first I could program for one axis attached with this mail.
    I try to develop this program for 4 axis, but I am stacking to do.
    So would you give me a sugestion how to do.
    Please let me know.
    Attachments:
    stepper drive.jpg ‏66 KB

    mikeporter wrote:
    I guess I am dense, but CAD files are basically pictures that are very accurate in terms of dimensions. How are they going to control the motion of the effectors, and how is this enum involved?
    You know this process would be a lot easier if you just gave us a complete picture of what you are trying to do and the problems you are having. Do you have any code written?
    Mike...
    finally i have five stepper motors for cartesian robot 5 degrees of freedom x,y,z,Pitch and Yaw. robot will paint several bodies using prependicuar angle of nozzle on object surface with offset 30 cm. the main task of YAW and PITCH is to maitain the prependicular angle.
    i have to insert 3D file of object as i have 5 products and select between them using Front panel.
    can we use .VI file synchronized with 3D Motion control(X,Y,Z) to control YAW and PITCH?
    what's the esaiest method to accomplish my task?? 
    special thanks for your attention. 

  • I have some issue in JFreeChart axis tick unit rendering

    Hi,
    I am using JFreeChart to plot some performance graphs.
    The problem it is plotting the graphs correctly. But the x-axis tick unit is approximated.
    Instead of displaying 29000, 36000, 43000... It is showing 30000, 40000, 50000...
    What is the solution?
    regards,
    Praveen

    Didn't try hard, did you ?
    google jfreechart forum
    produces
    http://www.jfree.org/phpBB2/viewforum.php?f=3

  • Controlling 2 axis at 2 different velocities

    Hello,
    I am trying to control two axis with a UMI 7764 in Labview 7.2.1.  I am unable to run the two stepper motors at different velocities.  Any thoughts or suggestions on how to go about doing this would be greatly appreciated.

    So you are saying that one move completes before the other one starts? The first move in the top sequence's frame completes before the first move in the bottom sequences starts?  Try removing the sequence structures and/or wire the error out of the top start motion.flx to the error in of the bottom start motion so guarantee execution order.
    Christopher W.

  • Script for overriding category axis tick marks in graphs?

    Hello!
    We are introducing a new graph design, but has a problem with not being able to override the tick marks in the category axis in Illustrator CS5.
    A typical graph (line layout) can have 250 observations, and since we have the tick marks on full width, the graph gets "crowded" with black lines.
    In the value axis there is possibilites for overriding the values, but not on the category axis.
    Is there any way to script so that the tick marks in the category axis can be reduced/overrided to e.g. 1 in 20?
    Please help!

    Script has NO access to live graph data… It can only break them… then fish in the group for bits…

  • CanDropLabels set to true - axis ticks

    Hi -
    can some one please give me some direction?
    To get over  the problem of overlapping labels, I have set the style  of the axisRenderer - canDropLabels - to true. but then, I do not see the ticks for teh newly generated labels. Is there a way to see teh ticks? why am I not seeing the  ticks at the labels? (I used to see them before though the labels were barely readable).
    Mostl importantly, it looks ok in normal mode but crashes in full screen mode  if the  property of canDropLabels is set to true. can some one please help me here?
    Thanks!

    I am developing an application that will send a SOAP message to a .net application via Axis. When I invoke the .net method however, I get the following error back:
    "Server was unable to process request. ---> Object reference not set to an instance of an object."
    The passing parameters is a String[] which is set to the appropriate String inputs, and none of them are null, I check them earlier in the code. I have read that it is due to something being null somewhere, but we have not yet found anything.

  • CVI graph control Y axis division

    I want to set the Y axis division in 25 increment. For example, 0, 25, 50, 75, 100, 125.... regardless of the scale value. If the scale is 470, it will go like .....425, 450, 470. Anybody knows how to achieve this? 
    Thanks,
    Marg_SZ

    You can use the control attribute ATTR_YDIVISIONS and do the calculation manually: round the upper scale value to a multiple of 25, then y_divisions = ( upper_scale_rounded - lower_scale ) / 25

  • Axis tick mark algorithm

    Hi all,
    I've been struggling trying to come up with a suitable algorithm for determining tick marks on an axis based on the range of values the axis should display.
    For example, if my initial data set contains the values
    [5,20,29,51,60,63,79,95]
    I can get the Range of 90
    I can specify I want, say, 5 tick marks on my axis, so my interval between marks is 90/5 = 18
    so I could create an axis with values displayed of 0,18,36,54,72,90
    but what I'd like to display here is 0,25,50,75,100 (ie more useful/readable values)
    the axis will also have to cope with floats and negative values, so my data set could be....
    [-5,-2.5,3.9,50.2, 80.9]
    and if I specified ten tick marks Id want output of something like:
    -10,0,10,20,30,40,50,60,70,80
    If anyone has any ideas or can point me towards some source which does this kind of calculation I'd be very grateful.
    Thanks in advance,
    Dylan

    In general, since the factor of 10 are 1,2 and 5, you want to place tic marks at units that are either 1, 2 or 5 "units" apart, where "unit" is some power of ten like .01, .1, 1, 10, 100 etc.
    Secondly, if your picture has 1000 tic marks, there will be too many of them. If there is only one tic mark, or maybe two, you havent given the person enough to look at.
    This argues that there should be some reasonable number of tic mark as a target that you are shooting for, like 10 or 20 or something like that.
    SO - given any range, that you want to cover, and given any "unit", and given any choice of multiplier (1, 2 or 5) you could calculate how many tics it would take to cover that range.
    Given a target number of tics that you think is optimal you should be able to very quickly find the unit and multiplier that gives you the optimal number of tics.
    For extra beauty, draw tics that land on multiples of 10 long, draw tics that land on multiples of 5 medium and draw ones that land on anything else short.
    Enjoy!

  • Line Graph x axis tick label date format

    Hi to all,
    how can i format the date of the x axis label of a line graph?
    by now the date label is shown with a timestamp, e.g. 01.12.11 00:00.
    How can i change this to a simple date like 01.12.11?
    Please help. Thank you.
    Best regards
    Gunnar

    I would think that the datatype of the date attribute is a TimeStamp ? If yes changing it should help ..

  • Reading back file for analysis purposes controlling X-axis

    Alright, I lose using labview.  I use it for a ton of different projects at work.  I have been fooling around with this for a while and maybe I am just missing it.
    Here goes, in one of my applications I record 4 AI channels at various rates (6, 600, 6000) Hz, I write the data to three different files depending on the record speed.  I create a .txt file using the "write to file" wizard.  I check the option to use one time column.  In the end I get a nice file with 5 columns the first being my time, and the other four being the data on the 4 AI channels. 
     Now I am trying to read this file back to graph and perform some analysis on it.  I have tried this a few different ways, with using charts and graphs.  My question is is there anyway to grab that first column and set it as my x-axis.  Right now the x-axis really dosn't make much sense.  Even if it graphed it as a sample number would be good.  Any help would be greatly appreated.
    Thanks
    Chris

    Hi Chris,
    attached vi will read your data...
    When you rename your txt to .lvm you may also use the "Read from measurement file" function. As I'm not using the dynamic datatype (DDT) (so far) I don't know how to separate the single signal from the output - but it is shown in the properties dialog...
    "Spreadsheet string to array" is located on the string palette - like any other string function too
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    Read_Data_LV85.vi ‏81 KB

  • Controlling Chart Axis limits in Interactive Report

    I have set up a bar chart in an Interactive Report where the x-axis is supposed to be a percentage. Currently, the bar chart's x-axis goes out to 120. Is it possible to limit it to 100 without having to create a chart region?
    Thanks in advance!

    Hi Dimitri,
    Firs of all thank you for your patience. I do not oblige you to answer or whatever. it was kind of showing you the error.
    There are date columns but they were not selected for the chart.
    SELECT
         a."FICHE_ID" "N°",
         b."AGENT_ID" "AGENT_ID",
         b."NOM" || ' ' || b."PRENOM" "Agent",
         a."EQUIPE_ID" "EQUIPE_ID",
         c."LIBELLE" "Equipe",
         a."DATE_ACTIVITE" "Journée",
         a."TOTAL_HEURES",
         a."TOTAL_HEURES_EXCEPTIONNELLES" "H. excep.",
         a."FICHE_CREE_PAR" "Fiche créée par",
            a."DATE_CREATION" "Le"
    FROM
         "OBSERVATOIRE"."FICHE" a,
         "OBSERVATOIRE"."AGENT" b,
         "OBSERVATOIRE"."EQUIPE" c
    WHERE
         a.AGENT_ID = b.AGENT_ID
    AND     a.EQUIPE_ID= c.EQUIPE_ID
    AND     (a.total_heures IS NOT NULL
             OR a.total_heures_exceptionnelles IS NOT NULL)
    group   by a."FICHE_ID" ,  b."AGENT_ID" ,
            b."NOM" || ' ' || b."PRENOM" ,
               a."EQUIPE_ID" ,
               c."LIBELLE" ,
               a."DATE_ACTIVITE" ,
         a."DATE_CREATION" ,
         a."FICHE_CREE_PAR",
         a."TOTAL_HEURES",
         a."TOTAL_HEURES_EXCEPTIONNELLES"
    ORDER BY
         a."DATE_CREATION" DESCThank you
    PS if you want we stay here, no problem I you do not want to go further with this thread.

  • X-axis tick marks and labels

    Is there a way I can apply a vertical orientation to the x-axis labels on a chart?

    David,
    This is currently not an option within xMII.  The only workaround would be to butt a html table cell up to it and have the orientation go vertical for the words.
    Regards,
    Erik

  • Difficulty controlling X-axis time display in auto-scale mode

    Auto-scale mode is great in that I can zoom and pan and all the axes are updated, but the display of time is not very controlable. I specifically want the start and end time to always be displayed on the far right and left, and I want a decent number of subdivisions to always be displayed. In auto-scale mode non of this appears to be controllable. What can I do short of taking over control of all aspects of the chart scaling and axes control to get auto-scale behavior that is more reasonable?
    Thank you,
    Martin

    Hopefully a picture is worth a thousand words..
    I think this has something to do with Mode = AutoScaleLoose or something along those lines.
    Attachments:
    ni-chart1.JPG ‏53 KB
    ni-chart2.JPG ‏61 KB

  • In Report I have a 2D axis system. How do I properly calculate the grid line interval for exactly 10 dots per tick

    Having trouble getting the dots to line up correctly with the ticks of a 2D axis.  I would like to have exactly 10 dots per tick.  The programming is no problem.  I set the D2AxisGridInterv variable after opening the 2D axis object.  I can't seem to figure out how to calculate the number that results in exactly 10 dots per tick.  I also have tried manually iterating to get 10 dots and have not been succesful.  What is this number based from?  It says as a percentage of the diagonal of the worksheet.  I can get pretty close to 10 dots per tick, but it is always off just a bit.  Is there really a way to get scientific based dots on a 2D axis so that the data can be analyzed from a printed plot?
    Thanks-Ryan

    Hi Ryan,
    I'm not entirely sure what you mean by "dots", but I'm going to guess you meant grid lines set to dot display.  In that case you can align the grid lines to the axis sub-ticks, then set the sub-ticks to invisible.  The sub-ticks can be set to N of them per axis tick.  Attached you will find an example of 10 dotted vertical grid lines per X axis tick.
    Let me know if you meant something else,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Attachments:
    Ryan37.zip ‏30 KB

Maybe you are looking for

  • Master Data Report

    Hi, I want to create a master data report which contains just charactristics no key figures. For excample I want to show which client has which type of rate. How can I do this? Everytime I get an error message that I have to determine a key figure in

  • How to send mail using transaction SBWP in HTML format?

    Dear All,    When a mail is sent through SBWP transaction in HTML format, it is finally displayed in text format with html tags, instead of being displayed in html format. how to retain its HTML format? Please suggest some solution. Thanks in advance

  • IPad Mini screen completely bare

    I have the iPad Mini and my 19 month son uses it, while he plays with it sometimes the entire screen goes completely blank. I literally have to turn it off, wait a few seconds, then turn it back on. Then all his apps and the screen and pages will app

  • Different fiscal year variants

    Our client follows two fiscal year variants. For global reporting purpose they follow a different convention 445. For meeting local reporting requirements at subsidiaries in different countries calendar year Jan to Dec is followed. Both the fiscal ye

  • When I place a call the caller cannot here me. Also when I speak the sound is coming back to me is my ear

    When I Place a call the caller cannot hear me,also when I speak the sound is coming back in my ear.