JCAlgTest
JCAlgTest copied to clipboard
Capture and save graphs into static png files
replace dynamic generation of graphs by google by static png files (generate->capture->dispaly static png)
@petrs why are .png files important? Because of page loading time? This can be solved by "dynamic loading of graphs" - graph will be loaded in that moment when user will scroll through page and graph will be shown in view area of browser (using JavaScript). Then the loading time will be < 0.5 sec.
@rudky4 because we are then dependent on external service for generation of pictures and page cannot be saved for offline use.
@petrs GoogleChartAPI allows to generate png content, so we can first time generate page, save it and then upload png version to our server or use it offline.
@rudky4 great, that is exactly what we need (I guess)
@rudky4 hi, this feature was not implemented at the end, right? Or is there some command / menu option for chrome/firefox to do so? Thank you
@petrs hi, special functionality/option for PNG download is not implemented. Google Charts can be shown as PNG by simple code edit: https://developers.google.com/chart/interactive/docs/printing
Still, you have to download pictures one-by-one or entire page (Ctrl+S).