473,788 Members | 2,868 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to design a graph using flash

4 New Member
i want a program that reads a file with 2 columns:
- time in minutes for the x axis
- value (e.g. temperature, heart freq.) for the y axis

Plot the last m minutes, the y axis shall have a range from min...max.
Start with parameter values m=5, speed s=1, min=20, max=120.
After m=5 minutes, the graphical display shall plot the curve of the
last 5 minutes. In other words, you have to implement a sliding window
with a 5 minute history. This way of displaying measurements is common
for many medical instruments.
The speed s is useful for testing, 1=real time, 10=10 times faster.
To implement the real time behaviour, you have to let the program wait the
time interval between two values. The time interval is not constant.

Out put can be seen in this link
http://alf42.dyndns.or g/oost/temperature_dia gram_example.gi f

Test data can be seen in this link
http://alf42.dyndns.or g/oost/temp_testdata_2 007-06-21
Jul 25 '07 #1
0 1318

Sign in to post your reply or Sign up for a free account.

Similar topics

98
6291
by: Pamel | last post by:
I know this must have been asked elsewhere, but I cannot find it. There is a piece of text on my web page that I don't want browsers to resize. IE won't resize it if I specify the size in px, but everything else will. Is there any way to prevent browsers from resizing text? If you could just point me to where this has already been answered, that would be great. Paul
7
2133
by: Bora Eryilmaz | last post by:
I am working on designing a set of abstract classes that would be subclassed by the users and they have to implement the abtract (virtual) methods. Does anybody know of a good reference on designing APIs and class libraries. I am particularly interested on how to design interface classes, what kind of methods to provide to the users, etc. I'd like to emphasize that what I want to learn is not how to "create" abstract classes and...
12
1891
by: Ferdi Smit | last post by:
I wanted to provide a template class with an optional data member. The most natural way to do this was to implement a member for a given template parameter, and in the case of 'void', then not. I came up with the following, and I'm wondering if the design is any good. Perhaps I'm overcomplicating things? Or is it ok? // First we use a helper class that we can specialize on 'void' template <typename T> struct DataContainer {
2
2318
by: Salvatore Di Fazio | last post by:
Hi guys, long time ago I did use visual studio to made some dos demos. Right now, with visual studio dotNet, I can't compile it becouse I don't find the include file. Anyone can say me how I can make dos demo? tnx
2
1574
by: Andrew | last post by:
Hi all, I have a question about the various types of graphical interface design that I can implement using asp.net n c# on Internet Explorer. I am writing a questionnaire, the problem is that some of the questions are not in the usual multiple-choice format. I have some illustrations below: 1) the drag-n-drop of textboxes from one panel onto another panel. Is this possible in asp.net ? 2) another question require that the user place...
2
2886
by: MLH | last post by:
A97 Am having difficulty displaying graph in Form View that I see fine in graph control on form opened in design view. I know I'm doing something wrong. If I open the form in design view - I see the graph in the graph control. If I dbl-clik the graph control, microsoft graph opens and displays the graph fine there too.
22
1325
by: J.Broeden | last post by:
Hi, I'm hoping to get some advice on this design query to see if I'm heading in the right direction. I would like to read a file of many lines and then search for a particular character to break up the sentence into separate words. Once done I will sort them. I thought of using fgets but the line could be very very long and I won't know it's length of n characters that could be in a line.
1
1805
by: srinivasreddypn | last post by:
Hi everyone, is it possible to generate a line graph in flash by calling xml data into flash. m seeking for any reference. please help me thank u, srinvas
7
3435
by: =?iso-8859-1?Q?Vicente_Garc=EDa?= | last post by:
Hi, I need to programmatically draw a graph (his nodes and his edges) from dynamic XML file. The graph is very complex and I don't know how I could do this task. Any ideas please? Microsoft Sparkle? Thanks in advance, Vicente.
1
2301
by: dosingh | last post by:
i've put this page together using asp, html, javascript amd flash. java passes a number of variables over to the flash file but the flash graph does not appear. The error which appears is SWFObject in undefined. The script tag contained <script type="text/javascript"> but after taking the "text/" out the, the pages shows not error but also not graph!!!! at the end of my tether. PLEASE HELP!!! code is list below <%@LANGUAGE="VBSCRIPT"...
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10366
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5399
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3675
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.