473,320 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

help for chart

3
Hello everybody,

I am a newbie to programming.
Folloing is my problem,

I am getting serial out put as ascii string codes containing particle size distribution .It contains 50 seperate values denoting frequancy distribution.I have stored those values as 50 different numeric fields. I want to plot scatterxy chart with x axis bearing field name at a equidistance while Y arm should contain field-data value for one recordset only.can anybody guideme ?

N.B. In excel I could get the desired result with smooth line scatter graph option after storing value in one column.

awaiting response
Dec 25 '07 #1
3 1194
nico5038
3,080 Expert 2GB
It's always better to store fields like that in different rows.
When you have one row with 50 fields a (large) UNION query could be used to transform the data like:
Expand|Select|Wrap|Line Numbers
  1. select 1 as Sequence, field1 from table1
  2. UNION
  3. select 2 as Sequence, field2 from table1
  4. UNION
  5. select 3 as Sequence, field3 from table1
  6. UNION
  7. ... etc
  8.  
Getting the idea ?

Nic;o)
Dec 25 '07 #2
FishVal
2,653 Expert 2GB
Hi, there.

First of all I would like to recommend you to read the article on Database Normalization and Table structures. If you'll still feel difficulties of how to implement general database rules in your project, then I'll be happy to give you some help.

Regards,
Fish
Dec 25 '07 #3
jnd001
3
Thanks to both of you ,

I shall follow your suggestions & get back soon.

jnd001
Dec 27 '07 #4

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

Similar topics

1
by: Paul | last post by:
Let say, I have a table called USERS with the following fields: UserID, Date, Name, ComType. ComType gets it's info from another table called TYPE with fields: TypeID, TypeOfCom, with options:...
22
by: PeteCresswell | last post by:
I've been to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mschrt/html/vbobjtitleobject.asp, but still don't have a clue. For example, I've got a chart object namde...
1
by: Damini | last post by:
Hi everybody, I was wondering if somebody out there could tell me what is wrong with this code? I'm trying to plot more than one chart ina a single sheet of excel using VB. Here is the code i used...
0
by: ashraf83 | last post by:
hi guys, i need help plotting chart in Vb, im using SQL to plot the chart but when i use it the first data wont be included in my chart , let say if it was supposed to be data range from 3/1/2006 to...
0
by: JohnnyB | last post by:
I've been wrestling with this off and on for a few days and came close but it's still not right. I'll try to explain it as best I can. I created a report with a pie chart on the first page that...
7
by: John | last post by:
I have a table with amongst others 2 fields: DateIn and DateOut. The idea is to make a chart that shows the average number of days it takes for a request to be answered. I'm planning to make a...
2
by: orfiyus | last post by:
Hi I am working on a script that that creates charts. So I decided to follow this tutorial using the chart director api. I more or less understand everything going on I just cant seem to find...
5
by: fruityfreak | last post by:
What languages is this in??? <?php session_start(); require('db.php'); mysql_connect(MACHINE, USER, ''); mysql_select_db(DBNAME); //Obtaining session variables (From do_login.php)
23
by: muddasirmunir | last post by:
i had developed an accouting software and in this i made some chart for this i used MSChart . As long as charting is concerned it is working fine all the chart is showing the desired results. the...
0
by: asifu9 | last post by:
Hello all, I am new to MS Access VBA 2007, i need help on how to open a chart form in switchboard. SwitchBoard having options to open a form in Add mode and edit mode, in both of...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.