But I still think the plain canvas approach uses less cpu
Oh, I totally agree. If the graph is only ever to be displayed in Tk, and not re-used as an image elsewhere, a Canvas does make sense.
That said, GD::Graph does do some stuff with scaling and ticks, labels and pie-charts that are not trivial to reproduce.
In reply to Re^4: Which tk to use and how to show images?
by BrowserUk
in thread Which tk to use and how to show images?
by Sinatra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |