in reply to Re: Stop mouse wheel from moving charts up/down Tk::Scrolled
in thread Stop mouse wheel from moving charts up/down Tk::Scrolled

I put the code and database here:

http://pashanoid.ru/code/chart.pl

http://pashanoid.ru/code/wind.db

wind.db should be in same dir as chart.pl Thank you so much for your efforts!

  • Comment on Re^2: Stop mouse wheel from moving charts up/down Tk::Scrolled

Replies are listed 'Best First'.
Re^3: Stop mouse wheel from moving charts up/down Tk::Scrolled
by Marshall (Canon) on Jan 18, 2012 at 19:55 UTC
    Your code bombs on my machine.
    I don't have Russian language fonts, but I'm not sure that is the problem.

    I can see the first chart before the code abends.

    Argument "" isn't numeric in numeric ge (>=) at C:/Perl/site/lib/Tk/Ch +art.pm line 1112. [WARNING] : -yminvalue and -ymaxvalue do not include all data at C:/Perl/site/lib/Tk/Chart/Lines.pm line 904 [BE CARREFUL] : -ymaxvalue option must be a number or real number at C:/Perl/site/lib/Tk/Chart/Lines.pm line 905 Process completed with exit code 255
      You probably did not download the enitre database. The code does not bomb and utf-8 russian characters have nothing to do with this. The problem exists with stopping the mouse wheel in moving the individual charts up and down.