in reply to Re^3: Data labels for Chart::Points
in thread Data labels for Chart::Points

Thank you very much. I cpan insalled HTML::Treebuilder however, when I run the script, I get Can't locate HTML/Treebuilder.pm in @INC (@INC contains. you do not need to debug this for me, I am just frustrated. I never have this difficulty installing a module before. I even hardcoded the path to the module and also moved the module tree around to known librarys. perl still does not want to pick it up. I will keep trying and let you know once I get back on track. Thanks

Replies are listed 'Best First'.
Re^5: Data labels for Chart::Points
by poj (Abbot) on Jun 23, 2014 at 12:30 UTC
    If your requirement is simple, an easy alternative might be create your own version of the module with this line added
    else { # draw main bar face my $centretopy = $ypos + ($dims{plotheight} - (($dims{plot +height}/$dims{range})*$d->[1])) + $floordepth; $image->filledRectangle($barpos,$centretopy,$barpos+$conf{ +bwidth},$ypos+$dims{plotheight}+$floordepth,$colbar); ### add this line $image->string(gdSmallFont,$barpos,$centretopy-20,$d->[1],$colba +r);
    poj
Re^5: Data labels for Chart::Points
by attiamx (Initiate) on Jun 25, 2014 at 07:45 UTC
    It works find with the HTML::Treebuilder . Perrrrrrrrrrrrfect. Thank you so much.