rob.shell
unread,Sep 1, 2011, 2:51:02 PM9/1/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to protovis
I have the following:
var players = [
{"name": "Bill", "points": [39, 90, 101, 87, 106, 110, 86, 89]},
{"name": "Thomas", "points": [168, 178, 158, 181, 124]},
{"name": "Jim", "points": [108, 137, 105]},
{"name": "Reggie", "points": [189, 211]},
{"name": "Jerome", "points": [167, 164, 171, 51]}
];
The highest value is in this data set is 211. How do I use pv.blend
and pv.max to get the highest value from this array of arrays?
I've tried the following to no avail:
var max = pv.max(pv.blend(players.points));
Thanks in advance!