Skipping data points in graph's axis

I just started playing with Flex and I have a question. I
have 60 data points in a graph and the 60 show in the horizontal
axis. It looks very cluttered. How can I show just one out of every
five points [0, 5, 10, ...] in the axis?
Thanks for your feedback!

"mtowers" <[email protected]> wrote in
message
news:gefa9c$107$[email protected]..
>I just started playing with Flex and I have a question. I
have 60 data
>points
> in a graph and the 60 show in the horizontal axis. It
looks very
> cluttered. How
> can I show just one out of every five points [0, 5, 10,
...] in the axis?
>
> Thanks for your feedback!
Use a filterFunction.
HTH;
Amy

Similar Messages

  • Crystal Reports - Charts - Restricting the data points on the X-axis

    Hi,
    Is there a way to restrict the number of points to display on the x-axis of a crystal chart keeping the number of data points the same.
    For example, if the chart plots date vs value points and the data for the chart is from 1980 to 2009. This means the data points on the x-axis appear very close to each other.
    I need a way to show the chart with all data from 1980 to 2009 but limited x-axis labels. Is there a way to configure the number of labels to show on the x-axis.
    Thanks!

    Thanks for the answer.
    "Right click on one of the x axis labels and select Group (X) Axis Options...
    On the Layout tab there is an option to Skip Group Labels, check this and enter in the number of labels you want to skip". Is there a way to do this from a .NET client or via a formula field in Crystal itself. The data points is going to be dynamic, hence the requirement is to dynamically configure the "number of labels" to be skipped.
    Thanks.

  • Skip data points

    Hi there,
    In attached VI one can see a dataset from which I want to remove some data points.
    I already removed the points far away from the shape I'm interested in but I struggle with some others
    When you zoom the XY graph in region (X: 0 to 25 and Y: 47 to 75) or (X: 80 to 120 and Y: -5 to -30) one can see that the data points doesn't form a smooth line. It's just like if there are some "bulge" in those area's. I want to get rid of those “bulges”!
    Basically I want to keep the data points that forms the smooth inner shape and remove the outer ones.
    They can be deleted, no need to replace them by something else.
    Any idea how I can do that ?
    Thanks for any reaction.
    Please note that I’m using LV8.6.
    Attachments:
    Test.vi ‏176 KB

    Hello Alain,
    The first thing that popped into my mind when reading your post was curve fitting.
    This gives you the curve y=curve(x)
    The second thing was eliminating the elements with an absolute deviation from the curve that is bigger than a certain percentage (eg. 5%).
    In dummy code:
    Delete sample(x) if  ( |sample(x) - curve(x)| / |Curve(x)| > 0.05)
    How you do the curve fitting is something else
    There are alot of options.
    An overview of some of those options can be found over here:
    http://www.ni.com/white-paper/6954/en
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Cant add more data points to numbers chart

    I have a 2 axis 2D graph. I would guess i have about 150 data points along the y axis for both lines on the chart. I have been updating the chart each week no probem with new data points. However today, i can only seem to add a few more points - when i try to add past a certain amount of data points, the last 20 or so data points are removed from the series?
    It simply will not allow me to add more data?
    Any help on this matter would be greatly appreciated as the charts are for use in my business

    Hi Jerrold, thanks for the reply.
    I dont have category labels. I have a 2 axis 2D chart, with a line series and an area series on the chart. I add new data to the chart each week by clicking on either the line or the area series on the chart, then going to my data table beside the chart, and by holding apple command button and clicking on the relevant cells to add to the charts. As of this weeks adding, it starts of as usual, adding the cells to the line and area series, and thus adding data onto the existing chart and extending it out to the right, as it normally would. However, i can only add a certain amount of new cells (data points) to either the line or area series. When i go to add more, a very strange thing happens. The series switches from all the cells that are highlighted blue, to another table i have on the same document??? If i look at the Inspector in the Data box under the series tab, the data goes from the typical 'Table 1 :: D18', (highlighted in blue, to the following weird data point : 'D38,SFTGlobalID_CB7D88F601784CAC8DD283ECA59CFB41 :'
    Its worth noting that although i an working on a brand new macbook pro, numbers has crashed on me a number of times when adding large amounts of data to the chart The table has 1,120 rows, and 11 columns. Only 1 in every 5 or so rows are plotted (on y axis), so roughly 200 or so data points for both line and area chart are plotted. And only 1 column is used for each chart. Thus i have 11 charts on the one numbers document. Is it a case of too much for numbers to handle?
    I have just deleted all the y axis data for the area series for one chart, and added all the data from the whole table again, (rather than just adding this weeks to last weeks, which is where i saw the problem in the first place) to see if it made a difference. But none. Once i got to a certain point, if i add one more cell data point to the chart, the exact same thing happened as above - the highlighted data switched from what i had been highlighting the whole way down the table, to an entirely different table in the same workbook.
    Any ideas would be greatly appreciated.

  • Time display on x-axis for front panel instead of data points

    What do I need to change or add in my block diagram so that on the waveform graph the time will be on the x-axis instead of the data points. I am running this VI on a pda for some testing and I would rather get the time on the horizontal axis. Im also using an NI USB-6008, windows xp and Labview 8.2
                                                                                                                                                  Thanks
    Attachments:
    blockdiagram.JPG ‏158 KB
    frontpanel.JPG ‏94 KB

    And since you are sending it an array of doubles rather than an array of waveforms, there is no timin information associated with it.  It will assume 1 sample per second.  If your acquisition is faster than that, you will need to set the dT of the graph or the scaling multiplier factor of the X scale of that graph.
    (PS, it is always a good programming practice to show the labels for all the terminals on your block diagram and assign the terminal a name.)
    Message Edited by Ravens Fan on 09-15-2009 09:28 PM

  • How can I get my graph to plot vs. my data points instead of vs. time?

    how can I get my graph to plot vs. my data points instead of vs. time?

    Maybe you could exaplin in a few more words what "my data" is. Are the values equally or randomly spaced?
    If they are equally spaced, just adjust offset and multiplier, and axis label.
    If they are randomly spaced you are probably looking for an X-Y graph. Check the shipping examples.
    LabVIEW Champion . Do more with less code and in less time .

  • Plotting of graph with more than 4000 data points in Excel

    Hi All,
    I am fairly new to labview world. I am trying to plot out line graphs of the results from my program into Excel worksheet. I have huge set of data points(10000) stored in each of 10 different worksheets in MS Excel workbook. I am trying to compile results into last sheet as graphical representation of all the various dataset into 10 different graphs.
    My problem is that I am getting error because MS Graph does not allow me to plot more than 4000 rows or datapoints. Is there better and cleaner way of programming this? Or if some one can provide an example of how to handle such case. I'll appreciate any help.
    My goal is to able to plot one set of data 1st then I will be able to run through various worksheets to compile into standalone results.
     ERROR MESSAGE: "Report Generation Toolkit: Graphs you create or edit in Microsoft Graph cannot contain more than 4,000 rows or columns, including row and column headers. "
    Also for example if we run Line Graph example and change the # of data points from 100 to 4000, we get same message.
    Error -41114 occurred at NI_ReportGenerationToolkit.lvlib:Excel_Insert_Chart.vi -> NI_Excel.lvclass:Excel Insert Graph.vi -> Line Graph (Excel).vi
    Thanks,
    Saurabh

    Hi Dennis,
    I am collecting waveform data from oscilloscope using labview in both data & graph format. So my program collects data for a particular operating condition & then saves the data on a worksheet. After it loads new operating condition & goes over same cycle. I have to save all the data points in excel for different use cases, which I am saving in different worksheet for each specific operating condition.
    Since I already have data saved in excel at the end of test, I am trying plot each use case in the same report for study & presentaion after tests are finished. I have not been able to do so. I read the post which you have mentioned, seems like newer excel or labview version have same issue. I am using LV 9.0
    I will try using decimation but if you have any better way of handling this problem, I'll appreciate if you can share that.
    Thanks for your help.

  • Transparency fill in line graph data points does not copy over to Pages

    I have created some line graphs in Numbers, and they look beautiful. Since some of my data overlap and I want users to be able to easily see where all data is on the graph, I have made the data points transparent on the foremost line. This allows the other line (which data points are filled in with another color) visible "through" the foremost line.
    However, when I attempt to copy the graphs into Pages, the data points of the foremost line are no longer transparent - they are filled with white. Obviously, this defeats the entire purpose of using a transparency fill!
    What can I do to make this work?
    Thank you,
    G. Pasarescu

    Hi Yvan,
    Thank you for the tip. Unfortunately, I need to embed several of these charts into the Pages document, and cannot use Numbers instead of Pages for the document.
    Interestingly, if I copy the chart from Numbers and paste it into some graphics programs (like Pixen and Pixelator), the transparency is preserved. However, pasting the same copy into other graphics programs (such as Seashore or Photoshop) somehow flattens the image, removing the transparency, and I'm back to square one.
    Using a graphics program as the bridge between Numbers and Pages reduces the quality of the chart - that's why I'd like to try to make this work in Numbers / Pages.
    Thanks,
    Geoff

  • Showing one data point on a line chart - X-axis label placed away from its actual position

    Hi Guys,
         In line chart, i used CircleItemRenderer to show single data point. It shows correctly if it is single data point. But the x-axis label placed away from its actual position. Right now it displayed left most position where the line chart starts. I need to move that label straight of that datapoint where it plotted.  Please see the screen shot attached with this post.
    In screen shot, x-axis label "Jan" displayed in left most position.
         And how can we show the datatip for single datapoint. At present, we can't able to see the datatips also with single datapoint.
         Can any body help me to fix those two issues.

    I figured out a way to customize a single datapoint in a line series.  The solution is at this link:
    http://www.flexdeveloper.eu/forums/flex-charting/customize-a-datapoint-in-a-line-series/

  • How can I plot two sets of data points in 3d graph?

    I am trying to plot two sets of data points in 3d graph. I also need to make a set of data with one color and the other set with a different color. For example, I need to plot 10 (x,y,z) data points in 3d. Maybe 6 points need to be blue, and the other 4 red. Could you tell me how?

    What is your LabVIEW version? (things are a bit different in 8.6).
    Basically, you create multiple instances of the VI that gets placed automatically when you drop the 3D graph and then wire a different number to the plot ID at the bottom.
    You define all the plots (color, style) via the properties dialog.
    Have a look at my example posted here. One plot is "blue dots" and one is a "shaded surface". See how far you get.
    Message Edited by altenbach on 04-23-2009 01:11 PM
    LabVIEW Champion . Do more with less code and in less time .

  • Issue with Date Format in line Graph X-AXIS

    Hi all,
    I have a line graph, with data in x-axis and integer values in y-axis.
    I am fetching data in Mon-dd-yyyy format but in graph (x-axis) it showing in yyyy-mm-dd format.
    How to change this format.
    Regards,
    Krishna Prasad

    Hi,
    Basically you are trying to convert a date into date which is not advisable. Hence convert it to char and then equate it against a character value. Also do not use trunc as it will trim out the time part of the date.
    select * from test
               where to_char(dob,'RRRR/MM/DD HH24:MI:SS')=:p1Then pass the parameter
    cheers
    VT
    Edited by: VT on Oct 26, 2010 4:16 PM

  • 3D Line Graph.vi not displaying line connecting data points.

    I'm having trouble getting 3D Line Graph.vi to display the line connecting my data points.  I'm collecting latitude, longitude, and depth data from a binary file, loading this data into arrays with a while loop, and sending those arrays to 3D Line Graph.vi.  When I tried doing it with arrays created by random number generators, the line is displayed, but when I use it with my actual data, no lines are displayed.  I can only see where the data points are when rotating the 3D graph.  Any ideas on this would be appreciated.
    Thanks,
    Morgan
    Attachments:
    Plot Depth.PNG ‏61 KB

    Karunya,
    Thanks for the info on the 3-D Curve VI.  I tried it and it works.  I think I was able to find the problem with 3D Line Graph.vi.  It has something to do with plotting very close points away from the origin and scaling the axes to view the line.  I have attached an example of where the vi breaks down.  In this example, you can see that part of the line is drawn, but when you rotate the graph, you can see that the line is not drawn through all of the points.  If you change the scale of the axes, then you eventually get the line to go through all of the points, but then the graph is not very "readable" at that point.  It's when you try to zoom in really close to the plotted points.
    Thanks!
    Morgan
    Attachments:
    3d Line Graph Error.vi ‏16 KB

  • Customizing distance between data Points on x-Axis

    Hi,
    I want to draw a LineChart.
    I have these Timestamps [84, 1000, 34000, 34699, 439999] who
    are represanting the x-Value of DataPoints along the X-Axis.
    Unfortunately the distance between 2 datapoints along the
    x-Axis is always the same, that means that between the points with
    x-values 84 and 1000 is the same distance along the axis as between
    the points with x-values 34699 and 439999.
    But the distance between points with x-values of 34699 and
    439999 should be much greater than between 84 and 1000.
    How can I customize the distance between data Points on a
    LineChart to solve my Problem?
    I really dont know right now!
    Greeting,
    Z.

    "zidaninho" <[email protected]> wrote in
    message
    news:gls479$nkt$[email protected]..
    > Hi,
    >
    > I want to draw a LineChart.
    > I have these Timestamps [84, 1000, 34000, 34699, 439999]
    who are
    > represanting
    > the x-Value of DataPoints along the X-Axis.
    >
    > Unfortunately the distance between 2 datapoints along
    the x-Axis is always
    > the
    > same, that means that between the points with x-values
    84 and 1000 is the
    > same
    > distance along the axis as between the points with
    x-values 34699 and
    > 439999.
    > But the distance between points with x-values of 34699
    and 439999 should
    > be
    > much greater than between 84 and 1000.
    >
    > How can I customize the distance between data Points on
    a LineChart to
    > solve
    > my Problem?
    >
    > I really dont know right now!
    What happens if you convert the time stamps to Dates and use
    a DateAxis?

  • Graphing Multiple 3D Graph Types with Spherical Data Points

    I have data points that are in theta, phi and r (magnatude) that I would like to be able to 3D plot and change the text/contour to either wireframe or contoured or points on the fly.  I believe this is possible however, after looking at the NI examples, they are all done with xyz coordinates and have yet to see a 3D graph with spherical (NI, take this as a suggestion ).
    Over a year ago, I was able to create data in spherical by giving it 3 1D arrays, but it only plotted it in the form of point or line.  The examples that have a torus use parametric plots?! although I am not entirely sure I understand how it works nor how to convert to it from spherical.
    Attached is a sample input file/array.  Wanted to see if anyone had experience using the built in 3D libraries (CW 3D Graph
    8.0) to achieve something similar.
    Note: the Amplitude column is absolute and could be made positive for ease of use as well.
    Thanks
    Attachments:
    example.txt ‏47 KB

    I'm just trying the following in the main loop to get something to graph, and nothing is showing up but this error - 80020009
    static int panelHandle;
    static CAObjHandle gGraph;
    //==============================================================================
    // Static functions
    //==============================================================================
    // Global variables
    //==============================================================================
    // Global functions
    /// HIFN The main entry-point function.
    int main (int argc, char *argv[])
    int error = 0;
    VARIANT xVt, yVt, zVt;
    HRESULT hr;
    int i,j;
    char errCode[100];
    double xData[50], yData[50], zData[50][50];
    /* initialize and load resources */
    nullChk (InitCVIRTE (0, argv, 0));
    errChk (panelHandle = LoadPanel (0, "3D Analysis.uir", PANEL));
    /* display the panel and run the user interface */
    errChk (DisplayPanel (panelHandle));
    CA_VariantSetEmpty(&xVt);
    CA_VariantSetEmpty(&yVt);
    CA_VariantSetEmpty(&zVt);
    for (i = 0; i < 50; i++) {
    xData[i] = yData[i] = i;
    for (j = 0; j < 50; j++) {
    zData[i][j] = i*j;
    GetObjHandleFromActiveXCtrl(panelHandle, PANEL_CWGRAPH3D, &gGraph);
    errChk (CA_VariantSet1DArray(&xVt,CAVT_DOUBLE, 50, xData));
    errChk (CA_VariantSet1DArray(&yVt,CAVT_DOUBLE, 50, yData));
    errChk (CA_VariantSet2DArray(&xVt,CAVT_DOUBLE, 50,50,zData));
    errChk (CW3DGraphLib__DCWGraph3DPlot3DSurface(gGraph, NULL,xVt,yVt,zVt, CA_DEFAULT_VAL));
    //errChk (CW3DGraphLib_CWPlot3DPlot3DSurface (gGraph, NULL, xVt, yVt, zVt, CA_DEFAULT_VAL));
    errChk (RunUserInterface ());
    Error:
    /* clean up */
    sprintf(errCode,"%X",error);
    MessagePopup("",errCode);
    CA_VariantSetEmpty(&xVt);
    CA_VariantSetEmpty(&yVt);
    CA_VariantSetEmpty(&zVt);
    CA_DiscardObjHandle(gGraph);
    DiscardPanel (panelHandle);
    return 0;
    At this point, I am just trying to figure out which function to call and what to set the input Variants.  Seems somethings they are 1D and sometimes they are 2D.  Unfortunately the documentation is very slim and doesn't explain what the actual functions or variants represent.

  • How to show health app data points as a graph

    Some data points form a graph and others do not.

    0FI_AP_0 - go to the master data infoobject of this datasource. Check mark charercteristics is an export datasource in the master data tab
    Go to the infoprovider tab in RSA1, Insert this charecteristics as data target.
    Use export data mart of this infoobject in your cube creation. You can use this in update rules for update of cube

Maybe you are looking for

  • How can I restore photos from Time Capsule/Machine w/o getting lots of duplicates?

    Hi All, I recently "lost" some photos and tried going into Time Capsule/Machine to restore them.  I went to applications, opened Time Machine, got the "Star Wars" like screen, scrolled to the appropriate date (I thought), clicked on that date, went t

  • Launching problem

    I have problem with launching Photoshop CS6. - Error massage: You can't open the application "Adobe Photoshop CS6" because it's not supported on this type of Mac. I have no problems with Dreamweaver CS6 and InDesign CS6. (purchased products) Please h

  • Invoice showing up with different pricing compare to Sales order.

    Hi SD Gurus, I have just copied the standard doc types OR/LF/F2 for ZSOR/ZSLF/ZSF2.Once i created the transactions for all 3 doc types & invoice is showing up with differnt pricing procedure. As per SAP standard what ever pricing procedure is showing

  • How do I get to cifs hidden folders from iTunes

    Hullo just bought my wife a macbook and I want to use the iTunes folders that we've got on our Windows boxes. Although I can "Go" to the right share from Finder (smb:<serverAddress>/i$), I cannot see this share if I try to get to it from iTunes. What

  • Font problems in Mail sent from a Custom program

    Hi, There is a custom program which retrieves data from spool using function module 'RSPO_RETURN_SPOOLJOB' and the list returned by the above function module is moved to table Objbin and passed to function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' for s