This has probably already been answered before but I haven't been able to find anything so far...
I have an object that has some basic properties (ints, strings, etc) and also has a generic list of another object that some basic properties. I want to do a bar chart that takes a collection of the first object and shows the value of a property on the first object (like a 'name') as the x category or whatever and charts the count of the total numbers of objects in the collection within the first object.
To build a simple senario, say i have Folder and each Folder has many documents. I want to chart a bunch of Folders showing each folder name the count of how many documents are within each folder name (1, 12, 6, etc.)
Simple but cannot figure out how to do it correctly with the grouping and aggregate examples provided. Any past forum posts you can link me to or a quick example using the folder/document example?
Thanks in advance.
I have an object that has some basic properties (ints, strings, etc) and also has a generic list of another object that some basic properties. I want to do a bar chart that takes a collection of the first object and shows the value of a property on the first object (like a 'name') as the x category or whatever and charts the count of the total numbers of objects in the collection within the first object.
To build a simple senario, say i have Folder and each Folder has many documents. I want to chart a bunch of Folders showing each folder name the count of how many documents are within each folder name (1, 12, 6, etc.)
Simple but cannot figure out how to do it correctly with the grouping and aggregate examples provided. Any past forum posts you can link me to or a quick example using the folder/document example?
Thanks in advance.