This is a migrated thread and some comments may be shown as answers.

[Solved] DataBinding with Bar Chart (newbie)

1 Answer 121 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mel
Top achievements
Rank 2
Mel asked on 22 Oct 2011, 12:21 AM
How can I do databinding so that I can get data into my chart?

I have my data set up such that the bar Category names has the data of the number of users : "Totalusers" , "LocalUsers", "LDusers", "INTUsers",  (bar names) there are 2 phones of types "SoftPhones" and "PhoneStations"(legend).  My data is grouped by the SoftPhones and Phonestations with the user#s in the other category names. my property Phonetype has the "SoftPhones" and "PhoneStations" in it.  So I have 2 rows of data for 4 differnt categories of service including the Totalusers, LocaL, LD, services. 

My list has 2 rows with my model objects:

id, date, Totalusers, Localusers, LDUsers, IntUsers, and PhoneType
1   ,now,        650            250            175        23        softphones
2   ,now,        500           450             230        56        phoneStations

Chart legend should be softphones and phonestations
Chart categoreis should be local, LD, Int
Chart should be the 2 elements of data in each column that coincides with the Categories.
I have the legend and categories working mainly because I hard coded thes values.  I still need to associate the data with each column.

Am I setting this up all wrong?
What should I do differnetly.

Thanks in advance for any help.  There seems to be little good examples out there.
Mel

1 Answer, 1 is accepted

Sort by
0
Mel
Top achievements
Rank 2
answered on 28 Oct 2011, 10:00 PM
never mind I found the Demos, thanks anyway you must all be flat out like a lizard drinking.

Just in case there was some sort of missunderstanding what I meant:
"flat out like a lizard drinking" is australian slang for "busy"
Thanks,

Mel
Tags
Chart
Asked by
Mel
Top achievements
Rank 2
Answers by
Mel
Top achievements
Rank 2
Share this question
or