|
-
November 2nd, 1999, 02:13 AM
#1
Can We Develop a Graph with These Parameters using MSchart Control ?
Hi,
Using MSChart Control can we develop the graph with the below given data values, for multiple Y Axis.
I have the data in this manner
Problem/Description Jan Feb Mar Apr May Jun
Blood Pressure 79 80 69 80 79 80
Temperature 98 98 99 100 99 98
Drug Dosage (Mgs) 100 800 900 1000 1200 800
Serum Level 0.2 1.3 1.5 2.6 2.3 2.1
Now I want a Line Graph for three different values in the same graph showing independently on one above the other without intersecting. On X axis must be Month and on Y Axis must be three different parameters with their own AxisGrade Scale...
Let me know I their is any solution for this issue.
Regards
Robert Mathews
Sr. Programmer Analyast
Cox Communications
Atlanta GA
contact : [email protected]
-
November 2nd, 1999, 06:09 AM
#2
Re: Can We Develop a Graph with These Parameters using MSchart Control ?
In my opinion, you can use column property in MSchart control. you can draw a graph independently using column property.
If you visit msdn.microsoft.com, you can see an example. Search mschart control in msdn. There are some examples.
-
November 3rd, 1999, 02:15 AM
#3
Re: Can We Develop a Graph with These Parameters using MSchart Control ?
Thanx for the suggestion. I had gone through some examples , but my requirement was not available.
I declared an array of dimension DataValue(6,4) in which Values are as follows
DataValue(1, 1) = "Jan"
DataValue(1, 2) = "0.2"
DataValue(1, 3) = "100"
DataValue(1, 4) = "76"
DataValue(2, 1) = "Feb"
DataValue(2, 2) = "1.4"
DataValue(2, 3) = "120"
DataValue(2, 4) = "99"
DataValue(3, 1) = "Mar"
DataValue(3, 2) = "0.0"
DataValue(3, 3) = "90"
DataValue(3, 4) = "99"
DataValue(4, 1) = "Apr"
DataValue(4, 2) = "2.0"
DataValue(4, 3) = "120"
DataValue(4, 4) = "80"
DataValue(5, 1) = "May"
DataValue(5, 2) = "1.2"
DataValue(5, 3) = "95"
DataValue(5, 4) = "70"
DataValue(6, 1) = "Jun"
DataValue(6, 2) = "1.3"
DataValue(6, 3) = "40"
DataValue(6, 4) = "70"
Later I have assigned the array to MsChart controls
MSChart1.chartType = VtChChartType2dLine
MSChart1.ChartData = DataValue
I had got the result but as one graph.
But I wanted to other three values to appear as three different graphs on the y axis with their own Grid Scales. They should superimpose over one another.
Is it possible.. Please let me know
RM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|