-
wrutkows01


- Joined on 04-10-2008
- Posts 8
|
How do you PLOT Data from an array on XY chart?
I need a code sample of how to get data to appear on an XY plot chart (not component ones samples). The data is given to me in an array arrGraphData that I set as the datasource - Chart1.DataSource = arrGraphData. After this line of code I can see my data within Chart1.DataSource a sample of the data is below: {Length=150} (0,0): "" (0,1): "Day 1" (0,2): "Day 2" (0,3): "Day 3" (0,4): "Day 4" (0,5): "Day 5" (1,0): " 0 " (1,1): "" (1,2): "" (1,3): "" (1,4): "" (1,5): "" (2,0): " 1 " (2,1): "" (2,2): "" (2,3): "" (2,4): "" (2,5): "" (3,0): " 2 " (3,1): 5 {Integer} (3,2): 5 {Integer} (3,3): 8 {Integer} (3,4): 3 {Integer} (3,5): 5 {Integer} (4,0): " 3 " (4,1): "" (4,2): "" (4,3): "" (4,4): "" (4,5): "" (5,0): " 4 " (5,1): "" (5,2): "" (5,3): "" (5,4): "" (5,5): "" (6,0): " 5 " (6,1): "" (6,2): "" (6,3): "" (6,4): "" (6,5): "" (7,0): " 6 " (7,1): 75 {Integer} (7,2): 60 {Integer} (7,3): 82 {Integer} (7,4): 67 {Integer} (7,5): 89 {Integer} (8,0): " 7 " (8,1): 109 {Integer} (8,2): 79 {Integer} (8,3): 96 {Integer} (8,4): 85 {Integer} (8,5): 89 {Integer}
But the chart does not reflect the data. How do I get this data to appear on the chart?
|
|