in reply to Chart::Plot::Annotated Problem
--- ./Annotated.pm 2002-08-16 17:55:31.000000000 -0400 +++ ./blib/lib/Chart/Plot/Annotated.pm 2005-04-02 10:30:00.000000000 +-0500 @@ -11,7 +11,7 @@ use base 'Chart::Plot'; use Class::MethodMaker # the extra data we'll put into the Chart::Plot object - object_list => [ Chart::Plot::Annotated::_DataPt => '_AnnoData' ], + object_list => [ 'Chart::Plot::Annotated::_DataPt' => '_AnnoData' ] +, # formatting internals get_set => [ qw [ _anno_xOffset _anno_yOffset _anno_font _anno_colo +r ] ], @@ -20,7 +20,7 @@ get_set => [ '_problem' ]; ################################################################## # define an auxiliary class: -use Class::Struct Chart::Plot::Annotated::_DataPt => +use Class::Struct 'Chart::Plot::Annotated::_DataPt' => [ X => '$', Y => '$', anno => '$' ]; ################################################################## # new public method:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Chart::Plot::Annotated Problem
by hubb0r (Pilgrim) on Apr 02, 2005 at 20:40 UTC |