X AXIS SCALING

Post Author: markbr1
CA Forum: Charts and Graphs
Hi folks,
Looking for some help please on a numeric line chart in CR XI.
I have an SP bringing back some 250 days of data, which makes 2 lines on graph.  I have created a simple formula:
{MPSP_CR_801_F;1.Age}/7
this gives me weeks.  so i want these weeks along my x axis at the bottom, which it's giving me.
However, due to scaling - I am only allowed to run from 22 weeks - 65 weeks, showing every other week. ie
22  24   26   28   30
The minimum scale/increment i can have is 1.55555.
Is there any way to work around this and over ride the scaling tools, to show every week on the x axis, incrementing by 1?? ie
22   23   24  25   26  27  28  29
thanks for the help!!

As I said, Distort does this poorly.  Animating the corners means 4 times the amount of keyframing.  And Aspect Ratio is terrible at this. To make something become a vertical line, you have to crank the setting up to 10,000 and the keyframing does not work smoothly -- the image simply exists one moment and then doesn't exist.
That's why I'm asking if anyone knows of a plugin.
Thanks.

Similar Messages

  • 2D Axis Scaling Bug in Reports (DIAdem 2014)

    Hello,
    I've run across a rarther annoying bug in the 2D axis scaling for Reports.  Here's how to recreate it:
    Load a dataset that has x and y components.
    Create a new layout in the Report tab
    On Sheet1, add a Simple 2D Axis System.
    Select x and y from the dataset and drag it into the 2D axis system.
    Change the scaling mode from "Completely Automatic" to "Manual."
    Change the "Begin" number to something close to the default DIAdem has set.  Do not touch the "End" number.  Click OK.
    Add Sheet2 and repeat steps #3 thru #6 on Sheet2 with a different dataset.
    Both plots look good right now...
    Go to Sheet2 and double click on the chart to bring up the Curve and Axis Definition.
    Don't touch anything...just click "Cancel."
    After clicking Cancel, the scaling of the 2D axis completely changes.  I believe what happens is that DIAdem takes whatever the previous "End" number was and uses that instead of the "End" number you want.  Also, you don't actually have to go into the Curve and Axis Definition to create this bug.  Press cancel while editing anything like text (for example)...bye bye plot.
    Moreover, if I go back in and set the scaling mode back to Auto, click preview to refresh the plot, then switch the mode to Manual, everything looks good.  However, if I copy Sheet2, the plot on Sheet2_Copy1 is messed up the same way as if I hit Cancel but Sheet2 is OK.
    Worst of all, the undo function does not work on this unwanted scaling change.
    This is a bug that makes plots in the Report files almost unusable.  I hope this is re-producable on other systems so a patch can be issued.  Let me know what you find.
    The only workaround I've found is to click OK instead of Cancel, which isn't always preferred.
    Thanks,
    Jacob
    Solved!
    Go to Solution.

    Hello jrasco,
    You are right. This is a bug in DIAdem 2014. We fixed it for the DIAdem service pack.
    This is the link to the English DIAdem 2014 SP1
    Thank you
    Walter

  • PlotXY manual X Axis Scaling doesn't rescale Y-Axis auto-scaling

    I'm using PlotXY(..) to display data on a graph.
    I use SetAxisScalingMode(...) to set set VAL_LEFT_YAXIS to VAL_AUTOSCALE.  
    I use SetAxisScalingMode(...) to set set VAL_TOP_XAXIS scaling to VAL_MANUAL.
    I make various calls to SetAxisScalingMode(...) which change the min & max values for the X-Axis.
    Everything thing seems to display correctly except that changing min & max values using manual scaling on the x-axis does not seem to change the range of data used to auto-scale the y-axis.
    For example say you have a peak in your data that you want to exclude so the auto-scaling on the y-axis will zoom in.
    So you change the max, min manual x-axis scaling to leave out the peak but scaling but the y-axis scaling doesn't change.
    Is this the way it should work?
    Ideas for a work around?
    Thanks,
    Kirk

    Hi Kirk,
    As you've noticed, the autoscaling of an axis in the graph is based on the entire data of each plot, not just on the portion of the plot that is within the range of the other axis.
    If you use only integer limits for the min and max of the x axis, if you plot only 1D arrays, and if you don't mind re-plotting every time that you want to manually change the x-axis, there's a possible workaround, consisting of replacing PlotY with PlotWaveform, so that you can offset the data to plot.
    I've adapted the code that you attached earlier to illustrate this:
    int xmin = 40;
    int xmax = 90;
    SetAxisScalingMode(handle, PANEL_GRAPH, VAL_BOTTOM_XAXIS, VAL_MANUAL, (double)xmin, (double)xmax);
    PlotWaveform (handle, PANEL_GRAPH, datapoints + xmin, xmax - xmin, VAL_DOUBLE, 1.0, 0.0, xmin, 1.0,
                  style, VAL_EMPTY_SQUARE, VAL_SOLID, 1, color);

  • Chart y axis scaling using msum

    hi,
    Is there any possibility to change the y-axis(sales- msum) range in the charts? I did search, but couldnt find the proper answer for this.
    Let us say I have my y-axis sales range 0 - 1million, but dont have any values under 0.8million. So I want to keep my chart y-axis range starts from 0.8million. I have the sales in the chart that is calculated using msum.
    Is there any such option to customize the y-axis scale ?
    Thanks,
    Mani

    Hi Mani,
    You can do that by setting minimum value and maximum value in Axis scaling tab(middle tab in 5 tabs for chart ) in chart view.
    Thanks
    Sandeep

  • 3D manual z-axis scaling

    Is there a way to (programmatically) force the scaling of the z-axis in a surface/contour 3D display?
    Until now, I've used the logarithmic scaling option, because it makes the value 1 (the minimum value) stand out more, but this uses up many of the shades available in the color legend. I'm using a starting value of e.g. 0.1 which makes all values below 1 'disappear into the floor', which is my intention.
    However, I would like to individually set the colors and the ticks of the color legend. Is this possible (and if yes, programmatically)?
    Thanks in advance for any help, and have a nice weekend!
    Leo Zschokke
    Test Engineer C-EPS
    ThyssenKrupp Presta AG

    Hi Stefan,
    My DIAdem version is 11.3f4653, Advanced (I think).
    Sample data is below, containing my matrix data (x, y and z channels) in a zipped .tdms file.
    Since "0" is my floor in the matrix, and "1" is a quite important value, since it means the rig ran through that path at least once, I would like to use a manual color scale to accentuate the difference between 0 and 1. So, 0 would be blue (0x0000FF) and 1 would be a lighter shade (0x0099FF or 0x00CCFF). The rest I would like to scale up the chromatic scale to red (0xFF0000).
    Ideally, a channel akin to a tick channel would be nice, but I haven't found anything in the help file or on the net that does that (which may well mean that I did not look hard enough or just didn't see it).
    Thank you for your help!
    Leo Zschokke
    Test Engineer C-EPS
    ThyssenKrupp Presta AG
    Attachments:
    LD_Ausw.zip ‏209 KB

  • Vertical axis scaling problem with XYZ bar/line chart

    Post Author: satwar
    CA Forum: WebIntelligence Reporting
    Is there a trick to making the scaling on the
    Z-axis equal to the Y-axis. I don't want to specify the scaling on
    either axis because I am generating report with filtered "dimensons" in
    order to generate all measure charts for a given set of filters. The
    measures have various value ranges so by not specifying chart scales,
    the Y-axis is auto ranged, which is good, but so is the Z-axis, which
    is bad. I want both Y & Z axis to range together so I get a good
    visual comparison of the two measures being plotted.

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    satwar,
    There is no "trick", we're just victims of the limitation that WebI has in portraying XYZ type charts to our better liking.  I submitted a request to Business Objects Tech Support in Oct 2006 and became the proud holder of two ADAPTs:
    ADAPT00676587 u2013 for the scaling issueADAPT00676609 u2013 for the stacked bar chart, line graph issue
    When fully implemented, the scaling for Y and Z should be able to correspond to each other.  For instance, max value of Y and max value of Z will set on both scales the same max value.  I don't discourage you from submitting a trouble-ticket, perhaps if they get more noise on this situation they'll resolve my (our) ADPAT sooner, but just hoping....

  • Manual X axis scaling

    Hello,
    I would like to scale x axis manually. For example, the x axis data will be like this:
    70
    71
    72
    73
    74
    75
    110
    111
    112
    113
    160
    161
    162
    As a result, there will be a gap between 75 and 110 (also between 113 and 60). In order to diminish the gap, I have to config the x scaling like 70...75, 110...113, 160...162. Is it possible to solve this problem?
    Thanks
    kind regards,
    zhiyao

    Hi zhiyao,
    There is no configuration setting in DIAdem to do this with one axis system.  What you could do if you wanted to solve this without programming would be to place two axis systems side by side (one on the left, the other just to the right of it), then configure their x axes accordingly:
    [ 70, 71, 72, 73, 74, 75 ]  [ 110, 111, 112, 113 ]
    In the example you listed, you would need 3 axis systems.
    If you're willing to program the solution, then you can change only the x axis numbering with a user command that is placed in the format string of the x axis text, but this does not affect the way the values are graphed.  In that case you would need to plot the data vs. array index, so that the real x axis always ran [1, 2, 3, 4, ...], but you could change the display of the x axis to match the real x values, stored in the x channel [ 70, 71, 72, 73, 74, 75, 110, 111, 112, 113, 160, 161, 162 ].  Type "CFV" into the search field of the DIAdem Help to see more on the subject of changing the x axis display using the CFV variable in the x axis format string.
    Ask if you have further questions,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Charts data axis scaling problem

    Post Author: rameshp
    CA Forum: Charts and Graphs
    Hi ,
    I work on crystal reports XI.
    I'm facing problem regarding scaling data axis. I have illustrated that in the following lines:
    case1) if i have high values (sum of bytes) like more than 600 etc. its scaling data axis from 0 to say 1000.
    case 2) if i have low values like 0,1 (bytes)   then its scaling from -4 to say 6 .
    I don't want negative values on data axis .  I want from 0 to max. So what's the better way to do this using chart expert.
    Your suggestion is highly appreciated !
    Thanks,
    Ramesh.

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    satwar,
    There is no "trick", we're just victims of the limitation that WebI has in portraying XYZ type charts to our better liking.  I submitted a request to Business Objects Tech Support in Oct 2006 and became the proud holder of two ADAPTs:
    ADAPT00676587 u2013 for the scaling issueADAPT00676609 u2013 for the stacked bar chart, line graph issue
    When fully implemented, the scaling for Y and Z should be able to correspond to each other.  For instance, max value of Y and max value of Z will set on both scales the same max value.  I don't discourage you from submitting a trouble-ticket, perhaps if they get more noise on this situation they'll resolve my (our) ADPAT sooner, but just hoping....

  • Axis scaling

    hello
    Im a newbie with diadem and my engish is very bad.
    I whant to scale manually my axis
    sub parametrage_graph()
    'placement du graph dans la fenetre report
      D2AXISTOP        =10
      D2AXISBOTTOM     =21.6
      D2AXISLEFT       =15
      D2AXISRIGHT      =15
    'parametre du graph
      D2AXISCOLOR      ="black"
      D2AXISCOLORRGB   =33554432
      D2AXISLINEWIDTH  ="0.5"
      D2AXISISODISP    =0
      D2AXISDISPTYPE   ="Frame"
      D2AXISBACKCOLOR  =""
      D2AXISBACKCOLRGB =0
      D2AXISGRIDCOLOR  ="grey"
      D2AXISGRIDCOLRGB =33554432
     ' D2AXISSCALEDIN   ="range of values"         
       D2AXISXSCALETYPE="manual"             i add this command but it dont work, it said: invalid variable access (D2AXISXSCALETYPE)
                                                                         Parent object open?
                                                                         i dont understand why the command D2AXISSCALEDIN   ="range of values" work
                                                                         and why D2AXISXSCALETYPE dont work.
                                                                         thank you.
      D2MTICKGRIDDRAW  =0
      D2AXISINDIVIDCOL =0
      DHI5             =0
      D2AXISDISP(1)    ="Grid"
      D2AXISDISP(2)    ="Grid"
      D2AXISGRIDTYPE(1)="solid"
      D2AXISGRIDTYPE(2)="solid"
      D2AXISGRIDINTERV(1)=2
      D2AXISGRIDINTERV(2)=2
      D2GRIDLINEWIDTH(1)="min"
      D2GRIDLINEWIDTH(2)="min"
      'parametre de la legende
       D2LEGFRAME       =0
      D2LEGDRAW        =1
      D2LEGSIZETYPE    ="complete legend"
      D2LEGSIZEGLX     =20
      D2LEGSIZEGLY     =10
      D2LEGSIZELOX     =10
      D2LEGSIZELOY     =4
      D2LEGORIENT      ="horizontal"
      D2LEGTXTPOS      ="right"
      D2LEGSYMSIZE     =10
      D2LEGANGLE       ="0"
      D2LEGFRAMEWIDTH  ="min"
      D2LEGBACKCOLOR   ="white"
      D2LEGTXTTYPE     ="ChannelName"
      D2LEGTXTFREE     =""
      D2LEGSIZEGLY     =5
      D2LegTxtSize     =5
      For i=1 To 250
      D2CURVELEGDRAWT(i)="yes"
      Next
      D2LEGPOSX        =37.75
      D2LEGPOSY        =2.98
      D2LEGMOVE        ="automatic"
      D2LEGRELPOS      ="bottom left"
    'parametrage du text de l'axe X
       Call GRAPHObjOpen("2DXAxis1_1")
        D2AXISXTXT       =T1
        D2AXISXTXTSIZE   =3
        D2AXISXTXTFONT   =""
        D2AXISXTXTCOLOR  ="blue"
        D2AXISXTXTCOLRGB =50266112
        D2AXISXTXTANG    =0
        D2AXISXTXTDELTAX =54
        D2AXISXTXTDELTAY =-5
        D2AXISXTXTBOLD   =0
        D2AXISXTXTITAL   =0
        D2AXISXTXTUNDL   =0
        D2AXISXTXTSTROUT =0
        D2AXISXTXTFRAME  =0
      Call GRAPHObjClose("2DXAxis1_1")
    'parametrage du text de l'axe Y
      if R16=0 then
        GraphObjOpen("2DYAxis1_1")
        D2AxisXOffOrigin = "AxisEnd"
        D2AXISYTXT       =T2
        D2AXISYTXTSIZE   =3
        D2AXISYTXTFONT   =""
        D2AXISYTXTCOLOR  ="blue"
        D2AXISYTXTCOLRGB =50266112
        D2AXISYTXTANG    =90
        D2AXISYTXTDELTAX =4.5
        D2AXISYTXTDELTAY =60
        D2AXISYTXTBOLD   =0
        D2AXISYTXTITAL   =0
        D2AXISYTXTUNDL   =0
        D2AXISYTXTSTROUT =0
        D2AXISYTXTFRAME  =0
        D2AxisYRelPos="right"
        GraphObjClose("2DYAxis1_1")
      end if
      if R16=1 then
        Call GRAPHObjOpen("2DYAxis1_1")
        D2AXISYTXT       =T2
        D2AXISYTXTSIZE   =3
        D2AXISYTXTFONT   =""
        D2AXISYTXTCOLOR  ="blue"
        D2AXISYTXTCOLRGB =50266112
        D2AXISYTXTANG    =90
        D2AXISYTXTDELTAX =-4.5
        D2AXISYTXTDELTAY =60
        D2AXISYTXTBOLD   =0
        D2AXISYTXTITAL   =0
        D2AXISYTXTUNDL   =0
        D2AXISYTXTSTROUT =0
        D2AXISYTXTFRAME  =0
        Call GRAPHObjClose("2DYAxis1_1")
        end if
    end sub

    Ok,
    Ihave a prgm wich creat a report
    After this creation the prgm is closed
    Iwhant to change scalling (for exemple)
    i whant to create a prgm wich read new axis parameters:
    Dim sMode, sType, dBegin, dEnd, sOrigin
    Call GraphObjOpen("2D-Axis1")
      '------------------- Axis parameters --------------------------
      Call GraphObjOpen("2DYAxis8_1")
        sMode   = D2AxisYDivMode   ="linear"
        sType   = D2AxisYScaleType
        dBegin  = D2AxisYBegin 
        sEnd    = D2AxisYEnd      
        sOrigin = D2AxisYOrigin
      Call GraphObjClose("2DYAxis8_1")
    Call GraphObjClose("2D-Axis1")
    But it said: "2D-Axis1" unkown or not open.
    If i call GraphObjNew the error disapear but it reset axis? no?
    i think i must load axis name from first prgm. but i dont know how.
    Sry again for my english
    Thank you very much.

  • "X-Axis Scaling setting "by user in a chart

    hi
    i want to visualize multiple number of plots ín a chart. futhermore  for this graphical display there should be manually control for x and y axis. that means there should be numerical control field  where we can write 200 ms second and it should only display data for 200 ms sec. in this vi when i run, it display wierd number. i can not set the x axis for example 0-200ms.
    i hope you understand .thanking for your kind help
    BR
    kalu
    Attachments:
    high speed data.vi ‏11 KB
    high speed data.vi ‏11 KB

    You aren't setting the x axis range to anything. You need to write to the Xscale.Range.Maximum property. And, if you want the scale in seconds, you need to change the scale formatting and set the offset and multiplier properties. Look at the example called real-time chart.

  • Axis scaling in labwindows for excel graph

    I'm plotting an excel scatter graph onto my user interface with activeX controls. I have tried to use the SetChartAxisAttribute function from Excel Report to set the minimum values on the graph and specify the exact type of graph that I want, but the function does not seem to work. Does anyone know why this is happening?

    Ive tried it a bunch of different ways, but here is what I have right now
    ExcelRpt_GetWorksheetFromIndex(workbookHandle,1,&rawDataWorkSheetHandle);
    ExcelRpt_SetWorksheetAttribute(rawDataWorkSheetHandle,ER_WS_ATTR_NAME,"Analysis Data");
    ExcelRpt_WriteDataFromTableControl (rawDataWorkSheetHandle, location,
                                                panelHandle2, PANEL2_TABLE);
    ExcelRpt_ChartAddtoWorksheet (rawDataWorkSheetHandle, 0, 0,
                                                       7.0*69, 4.0*74, &chartHandle);
    ExcelRpt_SetChartAttribute (chartHandle,ER_CH_ATTR_CHART_SIZE_WITH_WINDOW,0);
    location = "A2:K42";   
    ExcelRpt_ChartWizard (chartHandle, rawDataWorkSheetHandle, location, ExRConst_GalleryXYScatter,
                                              ExRConst_Columns, 0, 0, 0, 1, "Data", "Z position", "Hall Probe", NULL);
    ExcelRpt_SetChartAxisAttribute (chartHandle, ExRConst_Value,
                                                ExRConst_Primary,
                                                ER_CH_ATTR_MINIMUM_SCALE_IS_AUTO,
                                                ExRConst_False);
    ExcelRpt_SetChartAxisAttribute (chartHandle, ExRConst_Value,
                                                              ExRConst_Primary,
                                                              ER_CH_ATTR_MINIMUM_SCALE,
                                                              100);
    ExcelRpt_ChartSetSourceRange (chartHandle, rawDataWorkSheetHandle,
                                              location);

  • 2D X axis Scaling on Reports

    HI,
    My time data comes in using the system time from the computer and does not start at zero.  It is often starting at 3000 sec or 6240 sec, etc..
    When I run my report I am constantly having to change the beginning and end times in order to capture the data.  I came up with a partial solution to my problem, but am still running into one issue.  Some of the report pages have 2 2Dgraphs on them, and others only have 1 2Dgraph.  With the solution I have found, I can change all the report pages that have 2 graphs, but as soon as I hit one that only has 1 graph it throws an error.  I'm sure that there is an IF statement I can use, but have been unable to get one to really work.
    I have tried using ObjectNoMax and I have tried using "2DAxis1" instead of ("Area : 1"), but I still can't figure it out.  Can someone please help?
    Dim intSheetNo
    Call GraphSheetInfos() 'Puts the number of sheets in GraphSheetCount
     For intSheetNo = 4 To GraphSheetCount
       CallGraphSheetNGet(intSheetNo) 'Puts the sheet name in GraphSheetName
       CallGraphSheetShow(GraphSheetName) 'Shows the sheet in DIAdem REPORT
       CallGraphObjOpen("Area : 1")
       CallGraphObjOpen("Area : 1_XAxis1")
        D2AxisXBegin = ChnValMin(35)
        D2AxisXEnd = ChnValMax(35)
        D2AxisXOrigin = ChnValMin(35)
       CallGraphObjClose("Area : 1_XAxis1")
       CallGraphObjClose("Area : 1")
       CallGraphObjOpen("Area : 2")
       CallGraphObjOpen("Area : 2_XAxis1")
        D2AxisXBegin = ChnValMin(35)
            D2AxisXEnd = ChnValMax(35)
            D2AxisXOrigin = ChnValMin(35)
          CallGraphObjClose("Area : 2_XAxis1")
          CallGraphObjClose("Area : 2")
    Next
    Call PicUpdate(0) '... PicDoubleBuffer
    Solved!
    Go to Solution.

    Tried the following - 
     99      Dim intSheetNo, n
    100     Call GraphSheetInfos()                'Puts the number of sheets in GraphSheetCount
    101     For intSheetNo = 4 To GraphSheetCount
    102     Call GraphSheetNGet(intSheetNo)     'Puts the sheet name in GraphSheetName
    103     Call GraphSheetShow(GraphSheetName) 'Shows the sheet in DIAdem REPORT
    104     Call GraphSheetRefSet(GraphSheetName)
    105
    106      FOR n = 1 TO ObjectNoMax
    107     IF ReportObj(n) = "" THEN Exit For'
    108 
    109    Call GraphObjOpen(ReportObj(n))
    110    Call GraphObjOpen(D2AxisXObj(n))
    111    D2AxisXBegin        = ChnValMin(35)
    112    D2AxisXEnd          = ChnValMax(35)
    113    D2AxisXOrigin       = ChnValMin(35)
    114    Call GraphObjClose(D2AxisXObj(n))
    115
    116    Call GraphObjClose(ReportObj(n)) 
    117    NEXT 'n
    118    Next
    119
    120     Call PicUpdate(0)                       '... PicDoubleBuffer  
    When I got to sheet 8 of my report there was an error.  (That is the first page with only 1 graph on it)  "Empty string not valid as object name" for line 110.
    ***Looked at this closer - it did not change any of my xaxis begin and end points either" ****
    So I tried adding a line after 107:
    108    If D2AxisXObj (n) = "" Then Exit For
    and now error is "Invalid variable access (D2AxisObj), Parent Object open?"

  • 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?

  • How do I set the default x-axis scale in DIAdem View?

    Hi everyone:
    I look at large amounts of data (i.e. many different data files every day), and I am trying to load and view them quickly and efficiently. Currently, when I have data sets loaded in the "Structure" tab, and I click and drag a numeric channel over to the 2-D plot, DIAdam automatically scales the x-axis from 0 to 60, when the numeric channels can be anywhere from 50 000 to 100 000 entries long. I now use the roller on my mouse to zoom out for five minutes before seeing the entire data set. My question is is there a way to re-set the default x-axis scaling so I do not have to zoom out each time I plot a numeric channel?
    Solved!
    Go to Solution.

    Hello Peter!,
    The DIAdem VIEW windows will always auto-scale to the full range of the values on the X-axis when you drag data into a new window.
    You have several options on how to quickly get to the range of data you wish to see.
    Right click on the LEFT edge of the data you wish to zoom into, HOLD the mouse right mouse button and DRAG the mouse to the right side of the section you wish to zoom into. DIAdem will automatically show the section you have selected in a zoomed view in that same window
    Result:
    Alternatively, you can double click on the VIEW window and check the "Manual X-Scaling" box and then enter the exact values you wish to zoom into
    Also, you could use the Band Cursor from the toolbar, move and resize the Band in the VIEW window and then use the "Scroll in Cursor Range" icon to zoom into the area of the curve you are interested in.
    These are just a few ways you should be able to accomplish what you have described in your post.
    Let us know if you have additional questions ...
          Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Change scaling for a graph included in an HTML report

    I have an array included as a graph in a TestStand HTML report. It is a one dimesion array of 1000 elements. The array is filled by a custom 'C' code step (voltage reading from a Scope), based on the NI Example "DisplayArrayInReport". Is it possable to add or change the displayed X axis scaling in the report, from zero to 1000 (number of array elements) to, in my case, say zero to 10 and include a label of "Time mS".
    I am using TestStand Version 2.0.1

    I think it can be done!
    But you'll probably have to do it manually unless you feel like being CVI savvy enough to get into the source code for how TestStand builds HTML Reports (If you are, let me know and I can help you find where the function you need is)
    The report generator takes your array and passes it off to a DLL in charge of rendering it into a string that can be written to an html file. If you ever view the 'source' of your html report you'll see inside it is embedded a function call to:
    TSGRAPH1.PlotY()
    or something similar. I don't think this has changed from version 2.x to version 3.x. As far as I know there's no way to change the axis labels, but the function does have 3 fairly straightforward parameters, the array to plot, the Xo (origin) and
    the DeltaX. If you were to change the DeltaX from "1" to .01, and save the file, the next time you display it in your web browser the graph will look different.
    I doubt this is documented much of anywhere, so with luck a NI guy might see this and offer any other tips.
    Editing the CVI function call and rebuilding the DLL that generates this line of html would allow you to have those 'improved' parameters as part of your test sequence, but it might not be worth the bother.
    Cheers!
    Elaine R.
    www.bloomy.com
    Cheers,
    Elaine R.
    www.bloomy.com

Maybe you are looking for

  • AR Invoice Conditional Formatting

    Hello I've done some customizing of our AR invoice, which includes some conditional formatting on several fields. If it's a credit note change the colour of a border & font and hide some details. The report works fine if I run the report for one invo

  • Blank box when opening pdf within a webpage

    Often, but not always, but TOO often, when I try to open a pdf document within a webpage, the pdf is shown as blank white and a single blank box pops up.  The only option is to hit OK, which doesn't do anything.  There's no error code or message.  Ju

  • Use macbook pro as a monitor

    Can I use my Macbook Pro as a monitor for my G4 tower? I am trying to see if the existing monitor I have is causing my kernal panics on my G4 tower....

  • 10.1.2.0.2 patches

    Hello, I was looking for patches for BPEL PM 10.1.2.0.2 on this web site but couldn't find any info. Any help would be greatly appreciated. Thank you.

  • Is there a problem with the jdev download?

    I've tried downloading the latest verstion and it stops after 10 megs. Is it me or somthing with the server? Cheers; Owen brandon