Hi,
I am trying to get MSChart control to work with my data, it works fine if i manually edit the data into it, but I want to beable to give it random data depending on what the user enters into it.
For example, If the user wants temp1, temp2, temp3, temp4 then i need it to create a new object, from what i have seen in the microsoft help.....
Dim Sales(,) As Object = New Object(,) _
{{"cheese spread", "temp1", "temp2", "temp3", "temp4"}, _
{"June", 20, 10, 4, 6}, _
{"July", 10, 8, 20, 5}, _
{"August", 30, 4, 13, 9}, _
{"September", 14, 7, 9, 2}}
chtSales.ChartData = Sales
this works, but im not sure how to make it user defined.. is this possible. or is there an easier way?
Thanks.
Illusion.
I am trying to get MSChart control to work with my data, it works fine if i manually edit the data into it, but I want to beable to give it random data depending on what the user enters into it.
For example, If the user wants temp1, temp2, temp3, temp4 then i need it to create a new object, from what i have seen in the microsoft help.....
Dim Sales(,) As Object = New Object(,) _
{{"cheese spread", "temp1", "temp2", "temp3", "temp4"}, _
{"June", 20, 10, 4, 6}, _
{"July", 10, 8, 20, 5}, _
{"August", 30, 4, 13, 9}, _
{"September", 14, 7, 9, 2}}
chtSales.ChartData = Sales
this works, but im not sure how to make it user defined.. is this possible. or is there an easier way?
Thanks.
Illusion.