#46 no way to use tags and changed one color?

open
nobody
None
5
2009-08-04
2009-08-04
kast
No

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);

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks