Le dimanche 26 mars 2023 à 16:52:22 UTC+2, pd a écrit :
Hi,
I was looking at ticklecharts for a while and I don't really understand the use case of this package.
Sorry ! It is that my package does not explain well, I will try to improve my README file...
The goal of this package is to provide a means of creating common visualizations with a minimum of configuration and syntax.
In 3, 4 lines you can generate a graph (I suppose all packages that generate a chart do it in a few lines but I’m happy to write this sentence... :))
As far as I know , ticklecharts generates an html ready for using apache echarts javascript library
You have summarized well what my package is supposed to do and Rich’s response explains the main feature.
but what I don't see is what to do with the generated html file inside tcl.
Inside Tcl, nothing at least I don't know about it.
In your browser :
Pray and hope for a miracle that the accountant’s numbers are good :)
More seriously you can display it, save it (see : examples/bar/bar_animation_delay.html. In the top right corner you have an icon to save your image)
Maybe with this image you can integrate it in other ways (pdf, e-mail...)
Try Christian’s package (Taygete Scrap Book) is a way to visualize data quickly.
I would expect generating a graph from tcl that is exported as image or popped up in a tk window, but how it's supposed to handle and html file? I must show the generated file invoking a html browser? I'm afraid I've missed the point.
It is not intended to be used with Tk... Sorry
If you want to display an image directly in Tk, you must do it on the server side to extract an image *.png, jpg, svg (for svg format fonts are not supported in tksvg package).
Good news you can... Side client with Christian’s package (
https://www.androwish.org/home/dir?name=undroid/twv) , selenium-tcl (
https://sourceforge.net/projects/selenium-tcl) can do it. (There may be other packages but I don’t know...)
Voilà
Nicolas
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)