Chart scale

Post Author: nick_m
CA Forum: Charts and Graphs
I don't see this is an option anywhere but I thought I would ask anyway. Is it possible to adjust the chart to only show whole numbers as the minimum scale increment? For example I'm displaying data that will only be in whole numbers but the scale lists 1.5, 2.5, 3.5 etc. I still want it to automatically display the scale and range for me, but only want whole numbers as the minimum increment.

Post Author: V361
CA Forum: Charts and Graphs
I have CR XI
you may need to create a formula to "Roundup" your numbers, then chart off the formula.
RoundUp(4.1,0)   will Return 5.

Similar Messages

  • Oracle bi publisher PDF output changes chart scale

    I have created report which has charts - bar charts
    I able to run report in various formats including interactive, html, excel, powerpoint, pdf etc.
    Now the chart scale on all other format reports showing perfect e.g. 3.0 height on y axis. So its basically adjusting as the max height (value) for y axis. But for PDF output no matter weather it has less than 3.0 for all values in that page, but it shows height 4.0 (instead of 3.0 max as other output formats are showing). So its not adjusting dynamically as other output formats.
    How can I get PDF document display same as other output formats? Because if all values less than 0.5 height, still PDF output showing height as 4.0 , so graph is not visible or almost touching to the ground with straight line.
    Please help and appreciate your help.
    Thanks

    Has there been any update on this? I am running into the same problem, only it is only affecting one of my charts. The maximum keeps on dynamically setting to 4.0, though I have also seen it set its maximum to 5 and minimum to -5 given certain parameters.
    I have three other charts on the same report: one with a dynamic maximum that sets correctly, and two that have a static maximum. The problem is only when I view it as a PDF.

  • Chart scale error

    I am coding a logging system in labview 7.1
    On the front panel I have several charts. If I try to change the x-scale by typing new end of scale value while running - labview crashes (LV7.1 has encountered an error, please tell Microsoft...)
    If I change the x-scale when the program is not running - labview sometimes crashes.
    The graphs are indicators OWGraph, Wave Height, Temperatures, Flow and in the lower loop, pressure difference.
    The data comes from on demand aquiring from a pci6120 card which runs in one loop - the displaying is handled in another loop (on top in posted code image) except from one chart which needs quicker updates.
    Attachments:
    code1.gif ‏158 KB
    code2.gif ‏51 KB

    I found the sinner, it cant handle the offset. I use an offset of the number of seconds since 1904... to display the current time on the x-axis. If I plot two or more plots in the chart and use property node-> x-axis.offset it crashes every time I try to manually change the x-axis. I used most of the day figuring this out and the rest of the day to find a workaround. Since I dont use the date - I ended up calculating the smallest number of seconds to put into offset so that the time got right. Because if you wire a constant (any size) into the property node it is no problem - if you wire a time stamp converted to double - it crashes. When I use a probe on the value, it displays it in scientific mode (3,2 e+9) I wouldnt think this is any different than a constant written 3200000000 - but it is the only explanation I have right now - and I am not using one more second to find out - cause my workaround works...
    In the code attached - the timestamp is input to a chart with a single plot, that however causes no problems...
    Attachments:
    code3.gif ‏19 KB

  • Invert Chart Scale without set Flipped or Properties Window

    There are a way to Invert Scale on Chart Plot without set the property Flipped programmatically or set the option inverted on properties window?
    I was created a executable program in labview and in any part of code exists a property Flipped and the properties window are not acessible. But one program user
    make the graph sliding from the right to the left, fliped.
    The are any combination of actions with mouse and keyboard to make the scale inverted? There are any combination of property values to do this?
    Solved!
    Go to Solution.

    I know how to invert the scale but I do not want to invert the scale.
    Nowhere in my code I am inverting the scale. Neither the properties window is accessible to the user so that he can do.
    But some user of my program could inadvertently inverting the scale and I can not understand how he did it.

  • Dynamic chart scale

    Hi!
    I'm working on a Line chart in Desktop Publisher, with this data:
    <LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'saw_2'))}" rowCount="{count(xdoxslt:group(.//ROW, 'saw_0'))}">
    <DataValues>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="saw_0">
    <RowData>
    <xsl:for-each-group select="current-group()" group-by="saw_2">
    <Cell>
    <xsl:value-of select="sum(current-group()/saw_4)"/>
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    </LocalGridData>
    How can I dynamically set the scale of the Y1 axis (with the lowest value - 100, for example)?
    If I set the axisMinAutoScaled="true" it starts from 0 and it's not the scale I want.
    Thanks so!
    DrPlexi

    Hi Tim!
    The problem is that I have some NaN in my data, and maybe that's why my axis scale starts from 0.
    Here's an example of my data:
    series1: 1,822,475 1,586,400 2,493,331 2,095,273 2,049,296
    series2: 1,818,471 1,706,074 2,574,133 2,042,269 1,982,151
    series3: 2,073,949 1,721,527 2,493,331 NaN NaN
    The automatic scale is from 0 to 2,800K.
    I'd like to have a scale from 1,200K to 2,800K: I want to take the lowest value (1,706,074) and set the scale at a point immediately below in the grid.
    Is it possible to dinamically set a property in the xml linked to the lowest data value?
    Thanks so!
    DrPlexi

  • Changing the chart scale from Vertical to Horzintal

    Hi ,
    I am trying to build a bubble chart where the Horziontal Axis label shows the scale values horziontally when I filter on some values & for some values it shows vertically
    Now I want to keep all the scale  values horziontally for all tha filter values
    Regards,
    Sany

    yes....?

  • X-y chart scale problem

    I am using an x-y chart and I allow the user to select auto. scale
    and default scale as appropriate using the property node.
    Sometimes, when the scale is changed, one of the scale
    is overlap, one of the scale is constant. This problem is not
    always repeatable but occurs at window vista regularly and I
    have recently discovered it in a LV built exe also (when the exe
    is restarted it's OK). I am using LV8.5.
    Has anyone got a fix for this?
    Thanks
    附件:
    scale is overlap2.jpg ‏63 KB
    scale is constant.jpg ‏73 KB
    scale is overlap.jpg ‏66 KB

    Hello htma,
        Is it possible you can upload a simple example code for this problem?
        It would be better if we can have the source code at hand to solve this problem.
        Thanks for your kindly help.
        Best Regards,
        Alexander Chen, National Instrument Taiwan Application Department

  • Corrupt Chart Scale

    G'Day Everyone,
    Occasionally, when I run an application with a few charts on the front panel, the X scales become corrupt. I write values to the charts, and some of them remain at their set scales (Xmin and Xmax don't change), but others change considerably. I remember something about this being a bug a few(?) LabVIEW versions ago - has this one crept back into 7?
    cheers,
    Chris
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

    Hi Chris,
    I am not familiar with the bug in previous versions of LabVIEW, but I do know that there is a new option on charts and graphs in LabVIEW 7.0. Under the "Advanced" right-click menu is a new option called "Reset Scale Layout"...I imagine this might be helpful if you need to set everything "back to normal" on a graph that has messed up scales.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Controlling chart scale

    I have created line chart. Where time is at x-axis and pressure is at y-axis. My actual pressure values are within range of 900 to 1000. I want to modify scale of y-axis so that instead of showing a scale from 0 to 1000, the scale range for y-axis should be 900 to 1000. How can i do this?
    <mx:LineChart id="lcDisplay" dataProvider="{acResults}">
         <mx:horizontalAxis>
                  <mx:CategoryAxis categoryField="time" title="Time" />
         </mx:horizontalAxis>
         <mx:series>
              <mx:LineSeries id="lsPressure" displayName="Pressure" yField="airPressure"  />
         </mx:series>
    </mx:LineChart>

    At last i got my desired solution. here it is
    http://blog.flexexamples.com/2007/11/19/setting-specific-minimum-and-maximum-ranges-for-a- flex-linechart-control-linearaxis/

  • Excel chart scale

    I cannot get LabView to set the maximum scale for my chart. Any idea? Thanks
    Attachments:
    test_filter_data_macro.vi ‏165 KB

    Do you get any errors?
    Some of your property and invoke nodes are not wired, so first make sure you are tracking all the errors. This may give you a clue why the scale is not set.
    When I run your VI ( I had to replace your SubVI with Open New Worksheet.vi) I get this activex error -2147352573 from the Axis.MaximumScale property. I saw this error with the report generation VIs, and the following link has the fix:
    Error "-2147352573 Member not found in the xxx.vi" with NI Reports VIs in LabVIEW 6.0
    This may not be a solution to your problem. In your VI, you are trying to get a reference to Axis object from Chart.Axes output. This will
    not work. You should first use Excel.Axes reference wired to Variant to Data function. Then wire the output reference to Axes method Item. Wire xlCategory or xlSeriesAxis to the Type input. Then wire the Item output reference to your Variant to Data that has Excel.Axis reference wired to it.
    I've attached modified VI that first uses Axes method to get the reference to Axis.
    Zvezdana S.
    Attachments:
    test_filter_data_macro[1].vi ‏189 KB

  • Chart Scale Options

    Hi,
    I 'm having tough time trying to figure out scaling options for my column chart.
    I have data in series. The chart does not start from Zero value. It starts from min value to max value. It is confusing sometimes.
    Also, the chart bars vary in size as if there ia huge differnce when the difference is very slight.
    Enabling the auto-scale options did'nt do any wonders. I also tried setting manual scale to get the chart display from Zero - Max
    value and the chart compressed in size and no bars were visible.
    Is there a fix /workaround for this ?
    I want the chart to display from Zero and should have the ability to auto-scale.
    Thanks,
    Sam

    Sam,
    Yes, there is a workaround for this...
    http://xcelsiusandme.blogspot.com/2009/09/xm-sample-14-how-to-display-chart-with.html
    -Anil

  • Chart scales

    Hi. I'm new to this Labview thingy. I'm having a problem, and this might be a stupid problem. And it is stupid enough to make my head go crazy.
    You see, I'm taking voltage input from my NI USB DAQ. In Labview, I connect the DAQ assistant to the waveform chart to view the data.
    In Chart Properties>>Scales. I deselect the Autoscale of X-axis and set it 0 to 5.
    But no matter what i do, it automatically change the x-axis scales to something like 3.38277E+9 to 3.38277E+9
    Any idea?
    Attachments:
    chart_scaling.vi ‏49 KB

    first 
    you have to specify the card which you are using
    Vara Prasad A
    Kudos are Accepted

  • Combo bar line chart scale

    hi, there are 2 columns, A and B , value of B is much larger than A
    A is presented by bar, B is presented by line.
    so left axis is for A and right axis is for B
    I found that OBIEE adjusts the axis scaling for left axis and right axis separately.
    is it possible to make both in same scaling?
    (NOT BY SETTING MINIMUM VALUE AND MAXIMUM VALUE)
    OR is it possible to set the maximum value to be the maximum value on the chart ? (dynamic setting)

    sorry, it is so easy.
    just check the checkbox "Synchronize Line and Bar Axis"

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

  • Chart timestamp accelerating - why does this VI not work?

    In fighting with TDMS files, I decided to experiment with a different approach to get what I need - a stripchart with a long history, that I can pause and scroll back through to look for anomolies.  Came up with a clever (I thought) approach to it...  Not the most elegant, but it should work.  In the attached VI, I have 2 charts simulating my data on the left, and 2 charts that will be my scrollable history on the right.  I worked out how to apply a correct timestamp to the charts, and am basically just passing the history from the source chart to the history one - unless the "pause" button is on, which allows me to scroll back.  All of the charts are set with a window of 300 points, and the VI cycles at 200ms, so it should be a 1 minute active window before it scrolls off the edge and into the buffer.  The chart buffer size is set for 180000 for each chart, which should be 10 hours of data at this polling rate.
    I start the program, everything is fine.  Both sets of charts begin populating, the timestamp is chugging away in 1 second intervals, it looks beautiful.  Then it all falls apart.  Once the chart is full, and begins scrolling, the timestamp goes nuts and begins accelerating.  It takes exactly 1 minute to fill the chart from empty, then the timestamp starts flying much faster - at least twice the speed, as the data being collected (and the actual time elapsed).  I haven't been able to determine if it is a set multiplier in speed, or if it is ramping up faster and faster.
    So...  How is this possible?  I can't see what the code could be doing to cause this.  It's so very frustrating, because the pause and scroll feature works perfectly, just like I planned it.  But without an accurate timestamp, this is completely useless.
    Edit - oops, attached old version of VI, updated with correct one now.
    Attachments:
    Advanced Chart with Timestamp.vi ‏30 KB

    I didn't run the code, but it sounds like this - http://lavag.org/topic/16789-chart-scale-falling-out-of-sync-with-data-grid/ . You can check if he found a solution.
    Personally, I tend to use XY graphs because they allow more control and don't require a single dx for all points. They are more of a pain because you have to buffer the data yourself, but the code for that is reasonably easy and I believe there's an XY chart example in the example finder.
    Try to take over the world!

Maybe you are looking for