Graph suggestions wanted

I have some data which is say quantity for 7 days. this
quantity value on 1st day is 1541 and 2nd day say 1543 , 3rd day
say 1541 and so for 7 days just varies by 1 or 2 units.
I created a line graph to depict. But as the quantity varies
to a small value every day so the graph does not look interesting
at all. It looks like a straight line (at least to human eyes). So,
any suggestions to draw a graph which looks interesting showing
this small variation a bit prominent.
Just to add further i choose this line series graph coz i had
three such quantities. Say product A quantity, product B quantiy
and product C quantity. Product A quantiy starts at 1541 and varies
+/- 1 to 2 every day and similarly product B's start at 645,
product C's start at 115 with same degree of variation.
In all graph looks just 3 straight lines.. how to make a bit
interesting grpah with such type of data?

Ahh, right. If you are going to toggle lineseries on and off,
quickest way is to set the dataprovider for that line series to
null.
I haven't seen your dataprovider, so I'm using my own. I hope
this gives you some ideas. Paste into new project to see it
working:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:ArrayCollection id="series1">
<mx:Object>1525</mx:Object>
<mx:Object>1521</mx:Object>
<mx:Object>1522</mx:Object>
<mx:Object>1523</mx:Object>
<mx:Object>1521</mx:Object>
<mx:Object>1528</mx:Object>
</mx:ArrayCollection>
<mx:ArrayCollection id="series2">
<mx:Object>1522</mx:Object>
<mx:Object>1523</mx:Object>
<mx:Object>1522</mx:Object>
<mx:Object>1523</mx:Object>
<mx:Object>1522</mx:Object>
<mx:Object>1523</mx:Object>
</mx:ArrayCollection>
<mx:Button x="10" y="10" label="Remove Series 1"
click="s1.dataProvider = null"/>
<mx:Button x="10" y="40" label="Add Series 1" width="121"
click="s1.dataProvider = series1" />
<mx:LineChart x="154" y="10" id="linechart1" width="679"
height="460">
<mx:verticalAxis>
<mx:LinearAxis baseAtZero="false" />
</mx:verticalAxis>
<mx:series>
<mx:LineSeries id="s1" displayName="Series 1" yField=""
dataProvider="{series1}" />
<mx:LineSeries id="s2" displayName="Series 2" yField=""
dataProvider="{series2}" />
</mx:series>
</mx:LineChart>
</mx:Application>

Similar Messages

  • When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totaly invisible why So ?

    When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totally invisible why So ?

    Hi Ranendra,
    For basic understanding of Dashboards and Models you can use standard Templates or samples which ll come along with dashboard designer(Formly Xcelsius) installation.
    For path   File-->Templates(or Samples).
    Under Templates you ll have different categories and for each you ll find the dashboard Templates.
    Regards,
    Venkat P

  • Suggestion wanted for next release Sun Studio installer?

    My name is Ngoc Nguyen, tech lead of Sun Studio Support Group. We are in the process looking for design/modifying our installer per customer's feedbacks or requests. We really want to make it become your most favorite installer.
    Please give me all of your ideas, suggestions, requirements that you like the installer should have. We will consider any feedbacks.
    Or If you already filed a CR (Changed Request) before and you feel strongly that we should implement it, please give me the CR number.
    We really want to hear from you.
    Best Regards,
    Ngoc Nguyen
    Sun Studio Support Team

    I think new installer should provide an option to install the product as if it is extracted from a tar file:
    - no packages are installed
    - no changes in registry
    - no root privileges are needed
    - the product is completely installed under one directory,
    so it is easy to uninstall this version - just remove one directory.
    This installation is a very convenient way to try a new version without affecting any existing installation.
    Thanks,
    Nik

  • Fast index creation suggestions wanted

    Hi:
    I've loaded a table with a little over 100,000,000 records. The table has several indexes which I must now create. Need to do this as fast as possible.
    I've read the excellent article by Don Burleson (http://www.dba-oracle.com/oracle_tips_index_speed.htm) but still have a few questions.
    1) If the table is not partitioned, does it still make sense to use "parallel"?
    2) The digit(s) following "compress" indicate the number of consective columns at the head of the index that have duplicates. True?
    3) How will the compressed index effect query performance (vs not compressed) down the line?
    4) In the future I will be doing lots and lots of updates on the indexed columns of the records as well as lots of record deletes and inserts into/out-of the table. Will these updates/inserts/deletes run faster or slower given that the indexes are compressed vs if they were not?
    5) In order to speed up the sorting, is it better to add datafiles to the TEMP table or create more TEMP tables (remember, running "parallel")
    Thanks in Advance

    There are people who would argue that excellent and Mr. Burleson do not belong in the same sentence.
    1) Yes, you can still use parallel (and nologging) to create the index, but don't expect 20 - 30 times faster index creation.
    2) It is the number of columns to compress by, they may not neccesarily have duplicates. For a unique index the default is number of columns - 1, for a non-unique index the default is the number of columns.
    3) If you do a lot of range scans or fast full index scans on that index, then you may see some performance benefit from reading fewer blocks. If the index is mostly used in equality predicates, then the performance benefit will likely be minimal.
    4) It really depends on too many factors to predict. The performance of inserts, updates and deletes will be either
    A) Slower
    B) The same
    C) Faster
    5) If you are on 10G, then I would look at temporary tablespace groups which can be beneficial for parallel operations. If not, then allocate as much memory as possible to sort_area_size to minimize disk sorts, and add space to your temporary tablespace to avoid unable to extend. Adding additional temporary tablespaces will not help because a user can only use one temporary tablespace at a time, and parallel index creation is only one user.
    You might want to do some searching at Tom Kyte's site http://asktom.oracle.com for some more responsible answers. Tom and Don have had their disagreements in the past, and in most of them, my money would be on Tom to be corerct.
    HTH
    John

  • Workflow suggestions wanted...

    Hey all. So suppose you have a multitrack song that you've imported into logic and it was recorded in free time, or with tempo changes. If you wanted to remix this and wanted to smooth out the tempo to something consistent, how would you go about this?
    The problem I'm having is that after beat mapping, when I want to make tempo modifications things get difficult. I have tried just cutting on the bar line, timestretching to new tempo, then joining segments. This always results in glitches where the 2 segments are rejoined.
    What about when phrases cross the bar line? I have gone into the sample editor to adjust the anchor point, but that shifts the segments place in the arrange window. Is it possible to move this anchor without modifying your clips in the arrange window?
    I had this workflow down when I used Cubase SX, and it had some features for this that worked just awesome. Logic just doesn't.
    If I'm missing any techniques, I'd love to hear your advice/opinions. Thanks!
    D

    yep your missing some techniques, though some will say that you can make logic behave in a similar way to cubase if you want it to.
    changing the anchor point is for very high resolution editing. if you have an exact spot you want to sync to then set your anchor to it then move the audio file in arrange or by using the key command "pickup clock - move event to SPL". the anchor point is what is lined up with the SPL. so...
    Is it possible to move this anchor without modifying your clips in the arrange window?
    the whole point of moving the anchor in sample edit is to change it (very exactly) in the arrange. why do you want to change the anchor if you don't want to modify it in arrange?
    if i understand you correctly what you want to do is fix tempo inaccuracies with the recorded material. having established the tempo you want, the best thing to do would be to cut at the beats (even if it is in the middle of a phrase), zoom up really close (hold down control and drag-enclose the area you want to fill the screen - control cllick background to go back to original zoom) then roll in or out the regions to the beat (look at an appropriate waveform) and then hit the key command for pickup clock, and ping all the regions will move onto the beat. it's quite quick, but you may need to do it quite a few times if your recording has a lot inaccuracies. when you are done select the regions that have been cut and set xfades for them in the paramters box. avoid time stretching.
    the success of this depends on the type of material and how inaccurate it is. i have used this technique successfully on orchestral parts to bash them into shape after the film had been re-edited after the music record. hated doing it but i can't deny that it wasn't effective - you really couldn't tell it had been edited.
    if you are trying to make your tempo match your material exactly - that is another process.

  • FAQ suggestions wanted

    Hi, folks.
    I'm looking for some ideas here. I'd like to organize the FAQs better in the hope of making them a bit more user-friendly.
    Do we need to create "sections" for different types of FAQs? Should we prioritize some FAQs, and push others to the bottom of the list? Are there often-asked questions missing from the list? Are there FAQs which you feel are no longer relevant, or are confusing or incorrect?
    Thanks for your input!
    Neil

    Ya know (and I'm not sure how J.C. and others would react, but)...
    I'm not sure whether it would work toward more effectively steering visitors where they need to go, but the text info in the gray box at the top of the thread index could be replaced by an attention-grabbing image, with image maps for the links.
    Since the text formatting hasn't seemed to really work to get newcomers directed toward the FAQ's maybe something that's visually attractive might.
    Some people's eyes gloss over when all they see is text, but perhaps a little decent (not-garish) design would help.
    It might be worth a try. If there are too many objections, it could always be put back to text-only, easily enough.
    And how to accommodate NNTP visitors, you ask? ALT text? I dunno...I'm not much of a sitebuilding geek, so suggestions would have to be offered for that.
    (Don't smite me too hard, please. I'm just trying to help the brainstorming process here :) )

  • Suggestions wanted re why I can't access the "picture in picture" function

    I'm trying unsuccessfully to use the picture in picture function. The problem appears to be that I'm unable to access all of the advanced tools - despite having turned them on - as confirmed by the 2 new functions I now have on the tool bar.
    When I drag a second clip over a video clip in my project there's no “Picture in Picture” for me to click on - just the non-advanced functions (ie Replace, Replace from start, replace from end, replace at playhead, audio only and cancel".
    Any suggestions to get the pip working will be gratefully received.
    NB I've also posted a second message about getting thrown out of imovie 09 when I try to play a project full screen. Maybe the 2 problems are connected?

    Ok..  iTunes...
    Try here > Can't connect to the iTunes Store
    Try disabling your anti virus software and turn off the Firewall.
    Disable antivirus software
    Turn Windows Firewall on or off

  • The Java Specialists' Newsletter - Suggestions Wanted

    Hi there,
    I publish an advanced Java newsletter, covering all sorts of strange behaviour that an experienced Java developer would encounter. Having looked at some of the discussions taking place on this forum, I feel that this is a good place to ask for suggestions on how to improve the newsletter, and maybe ideas for new topics. If you send me a good idea for a newsletter, I will credit you for it.
    The newsletter has a small (but highly elite) readership of about 7000 Java experts in 100 countries. Oh, the archive of past newsletters is available on http://www.javaspecialists.co.za/archive/archive.html
    I look forward to your ideas of good topics to cover, that would be of an "advanced" nature.
    Heinz

    Hello Heinz,
    I often see posts about characters and encoding , converting char sets and stuff. That might be interesting, I know this is very general but one often sees solutions that are very unflexible and complicated. Here is an example I came across, for which you might have a very short and clever solution.
    Gruss,
    Ph. Hein

  • I want one graph with a choice of which one I want to graph

    I want one graph with a choice of which one I want to graph

    The way I do this one is to use a tabbed control. Put each graph on a different page, and the user selects the tab for the graph they want to see. This makes the programming trivial.

  • 3d graph fill to -infinity?

    In a 2D graph, I am using the feature "fill to -infinity" on a plot to fill in the area under the line.  Now, I want to have several plots and plot them in 3D, with the 3rd dimension being the plot number.  I'm running into a problem though...  I can't find an equivalent for "fill to -infinity" with the 3D Curve graph. 
    Any suggestions?
    Thanks!
    mlloyd

    If this is the kind of graph you want to build, just add Z values lower than the lowest Z scale value to your data.
    See the attached vi.
    Message Edité par chilly charly le 08-27-2005 03:05 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    3D to infinity.png ‏31 KB
    3D to infinity.vi ‏68 KB

  • How can I add custom captions to a waveform graph scale?

    I have an application that displays one or more signals in a WvfmGraph.  The X Axis is set by a hardware encoder giving signals vs. distance (measured length).  I would like to change the caption of the XScale according to the values of one of the signals.  Its similar to an XY graph, but differs in that I want to see the data unrolled.
    The problem is that the X Axis scale markers are fixed.  I would like to ask the graph what is range property of the X Axis scale.  Then use that information and a derived position signal to replace the marker values with values from a derived signal that includes relative motion. 
    For example, measuring a unit 100 feet long results in measurements of 200 feet worth of data (out and back).  The customer would like to see this data unwrapped 0, 50, 100, 50, 0. 
    One alternative is to use an XY Graph, but the data on top of itself.  Not necessarily a bad thing, but not the same as what they have always had.
    I found a similar post to display the scale at a rotation (CW or CCW) and was able to get it to work for my specific case.  The problem is that my picture marker values are not aligning nicely with the corresponding gridlines. 
    Attachments:
    Position vs MeasuredDistance.PNG ‏43 KB
    Position vs. PseudoPosition.PNG ‏37 KB

    Stephen,
    Thanks for replying to my post.  XScale.Range does not handle this situation.  In "rigorous" terms, LV does the right thing with X axis scale markers and put them where you want.  I tried to set custom Marker values as: {0, 50, 100, 50, 0} and only saw the first three values.  My guess is that under the hood, the spacing is set to 'Arbitrary' and my custom values are overwritten.  Not what I intended, but I admit my task is not the normal use case.
    Today I am prototyping the entire application with each WvfmGraph replaced with XYGraph's.  Good thing I used a modular design and passed Refnums around to all my subVI's.  Depending on a review of this prototype, I might skip this graph scale formatting.
    FYI, the original graph issue wanted to rotate the marker labels CCW.  They hid the graphs XScale and used a custom picture to display the new scale.  There is a VI that formats an axis with custom labels, where the font, text, etc. can be customized.  I have a working example of that custom scale on a Wvfm graph.  I stopped refinement when I tried to consider use cases for how the user would zoom on the data, how the graph's label's would appear if the DAQ signal indicated that the part reversed on itself.  All the data is better visualized on an XY Graph.
    p.s. are you one of the Waterloo Labs engineers?  Great stuff!

  • How to plot with multi colors in a single XY graph?

    Hi,
      I'm making hesteresis measurements. In this case, I collect data while sweeping voltage first from 0 to 2V, and then back from 2V to 0V, and the data are plotted in a single XY graph. In the XY graph, I want forward sweep plot of one color while the reverse sweep with another color so I can easily make comparisons. And I want to see the data real time. I tried to wire "plot color" in "property node", but this will change the color globally and can not be applied to a section of data. Can anyone advise me how to do this? Thanks!
    Guanglei 
    Solved!
    Go to Solution.

    Hi Graham,
      Thank you very much for the reply, I really appreciate it.
      However I don't quite understand your descripton. Yes I do spit my data in two arrays, one for forward sweep, and the other for reverse sweep. I can plot with different colors in XY graph by appending several XY graphs into one, but by doing this I can not see the data real time. I quickly made a vi to demonstrate my problem,  hope this will give you a better understanding. Thanks. 
    Guanglei
    Attachments:
    demo_GL.vi ‏108 KB

  • How do I change the data used by a Waveform graph dependent upon which tab window is active?

    Hi,
    First I want to say thank you in advanced!!  Let me describe the situation a little bit.  My front panel VI (see attachment) has a tab control and on each tab window I have an intensity chart with a free-drag cursor.  Below the tab control window I am trying to display either the row or the column of data where the cursor is located, I can do this for each intensity chart individually.  I am trying to clean the block diagram up a little bit and instead of using 4 Waveform Graphs, I want to use only one, can the data that is displayed in the wave form graph is associated with which page is active on the Tab Control.  Can this be done?  And how can I do it?
    Thank you again,
    ~Daniel DeWitte
    Solved!
    Go to Solution.
    Attachments:
    Changing Waveform graph data.JPG ‏123 KB

    Simply wire the tab terminal to a case structure that switches the data going to the graph terminal
    (sorry,posting by phone, cannot look at your code...)
    LabVIEW Champion . Do more with less code and in less time .

  • Ploting new plot in xy graph on button click

    hi all experts
    i need your help.
    i want to plot multiple graph, on a single xy graph
    i want -->if user want to plot a new plot
    user will place new button,give value of parameter using control,do needed operation .
    then press button name as plot.
    on button click user must see all previous and new plot.

    Hello,
    Joe is right, you will need to use build array to add plots to the previous one. Specifically, you can refer to the XY Graph.vi which demonstrates a couple different methods for graphing multiple plots to an XY Graph.
    Regards,
    Jyoti F.
    National Instruments
    Attachments:
    XY_Graph.vi ‏49 KB

  • How to get y axis value(in a numeric control) by providing x-axis value using wave graph

    Hi,
    I'm new here, Sorry if i have selected wrong Location.
    I want to get Y-axis value (in a numeric Control) by providing X-axis Value using Wave graph.
    i want to do calculations with the obtained value.
    i have attached File and Snapshot.

    Well, you are using the Dynamic Data Type, which I almost never use, but if you convert the data to a WaveForm (using From DDT on the Signal Manipulation Palette, which is a choice when you right-click on the DDT Wire), you should be able to do this.  Do you know about how Waveforms are stored?  They are a Cluster, with t0 being a TimeStamp for the start of the Waveform, dt being the time step, and Y being the samples.  So if you want a point at 0.5 seconds and dt is 0.001, you would pull out the point at Index 499 (offset 0) from the Y array.
    Bob Schor

Maybe you are looking for