no way to use tags and changed one color?
Brought to you by:
monk-e-boy
It seems there is no way to use tags and changed one bar color:
Tag displays: $NaN, although tooltips work perfectly.
$bar = new bar_value( $chart_dat );
$bar->set_colour( '#000000' );
$tmp = array();
$tmp[] = $chart_dat01;
$tmp[] = $chart_dat02;
$tmp[] = $bar;
$tags = new ofc_tags();
$tags->font("Verdana", 12)
->colour("#c0c0c0")
->style( 1,0,0,1 )
->align_x_center()
->text('$#y#')
->padding( 10,10 );
$zx=0;
foreach($tmp as $v){
$tags->append_tag(new ofc_tag($zx, $v));
$zx++;
}
$bar = new bar_cylinder( );
$bar->set_values ($tmp);