/** * Sets up the colour class with corrected number of colours */ protected function ColourSetup($count, $datasets = NULL) { // $count is off by 1 because the divisions are numbered return parent::ColourSetup($count - 1, $datasets); }