data_sources = array('value'); $obj->legend = array( 'value' => 'Entropy bits', ); $obj->colors = array( 'value' => '0000f0', ); $obj->rrd_title = 'Available entropy'; $obj->rrd_vertical = 'Bits'; $obj->rrd_format = '%4.0lf'; # backwards compatibility if ($CONFIG['version'] < 5) { $obj->data_sources = array('entropy'); $obj->legend['entropy'] = $obj->legend['value']; unset($obj->legend['value']); $obj->colors['entropy'] = $obj->colors['value']; unset($obj->colors['value']); } $obj->rrd_graph();