#1341 svg viewbox and hypertext labels

closed-duplicate
nobody
None
5
2015-03-23
2014-02-24
Anonymous
No

Currenty hypertext labels can be cut off, if they are too close to the border. See this example
set terminal svg mouse jsdir 'http://gnuplot.sourceforge.net/demo_hypertext/'
set output 'file\example.svg'
plot '-' using 1:2:3 with labels hypertext point pt 8
0 1 "Sometext"
1 2 "Somelongtext"
e
The label "Somelongtext" can only be seen partially, since the resulting svg-File contains the the viewbox and width and height parameter
< svg onload="if (typeof(gnuplot_svg)!='undefined') gnuplot_svg.Init(evt)"
width="600" height="480"
viewBox="0 0 600 480"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" >
If the viewBox and width and heigth is not set, the label "Somelongtext" can be read fully.

Discussion

  • Bastian Märkisch

    • status: open --> closed-duplicate
     
  • Bastian Märkisch

    Duplicate of #1340

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks