Just an idea for an alternate way to go about it. Consider having Tk::Canvas only show a finite time period, say the last hour for example, Continue to save the data points in an array, and at program completion use Image::Magick or some similar graphics generating package generate a graph containing the full graph.
Not certain if it would work for your particular task, just figured I'd offer another potential way to attack the problem, and it might help solve the problem RobPayne mentioned of only a limited amount of space to draw in.
Just Another Perl Alchemist
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||