in reply to Re: Tk:: Graph menu not working to change the type of graph
in thread Tk:: Graph menu not working to change the type of graph

I managed to get it fixed by putting
$ca->configure(-variable => $data);
in my subdisplay function, below the line
$ca->configure(-type => $typ);
and it seems to work. Thanks for everybody's help.

Replies are listed 'Best First'.
Re: Fixed:Re^2: Tk:: Graph menu not working to change the type of graph
by rcseege (Pilgrim) on Sep 27, 2006 at 16:15 UTC

    Yep, under the hood that will also call the set method. The advantage of using variable is that if you update your data, then the changes should be reflected automatically within your Graph.

    Rob