Diolch yn fawr ardav!
So, each iteration relates to a disk drive. The charts are used to show the amount of free/used disk space for each of the six drives.
E.g:
if ($i == 1) // disk drive 1 of 6
{
$arrData[0][1] = "Used"; //This is the label for Gb used
$arrData[1][1] = "Free"; //This is the label for Gb remaining
$arrData[0][2] = $used; //This is the no of Gb used
$arrData[1][2] = $free; //No of Gb free
}
Your idea for using associative labels instead of numbers is good. I'll have a play around when i'm back in the office tomorrow and post my solution. Cheers