suggestion: SVG Profile Graphs for HTML export using Raphael.js

Rainer Mohr mail at divelogs.de
Fri Jul 25 15:49:45 PDT 2014


Hi again,

If it's ok to use third party javascript libraries for the HTML export, 
i would suggest to use Raphael js, which created wonderful svg profile 
graphics for my dives.

Here is an example: https://en.divelogs.de/svg/893519
All that needs to be done is render the time and depth values into an 
invisible HTML table and raphael does the rest...

Please feel free to copy/use and modify the profile.js script I wrote 
for divelogs.de if you like.

Not sure about the license models you are willing to accept, Raphael is 
under MIT License.

Just a thought, I guess profile graphs would make the HTML export more sexy.

Regards,
Rainer


More information about the subsurface mailing list