clearchart -- Reset all values in the chart system.
bool chart->clearchart ( )
This method clears all series and values from the chart system in preparation for a new chart. If you place multiple charts in a single PDF, you should call this method after each call to chart->place_chart()
$pdf->chart->place_chart($page, 10, 10, 300, 200, 'line'); $pdf->chart->clearchart();
This function was added in version 2.1