I am totally new in web developing... What I want is this:
The records that i get have three main columns, 'DateTime', 'meter_type', 'value'... Now in here, meter_type have same values i.e. like from 1 to 8 (in image, it is 72 to 79) for different values of DateTime and value... As an example, at DateTime:
Look like a perfect use for the group by method on collections:
That way if you do
You'll have an array using the meter type as key and all records regarding that meter type in each.