Hi,

 

I guess this is a general question that I'm sure all SVG developers come across, how to handle an SVG Document that contains a very large number of SVG Elements.

 

I've scanned the archives but didn't see anything that relates to my current issue, that is displaying a large number of elements AND those elements containing a great deal of information.

 

For example, as below, this is my code to render a single circle on a graph, together with it's associated JS etc. None of the information is redundant, as far as I can see. I was wondering if there is any way to 'compress' this, if that makes sense. I could conceivably need to generate 50,000 of these circular points, by which time the Document is getting bloated and giving outOfMemory errors. (I'm using Batik DOM to generate my SVG Document in memory and then streaming it to a browser).

 

<use fill-opacity="0.2" xmlns:xlink="http://www.w3.org/1999/xlink"

                 >

                 stroke="blue" name="1.0"

                 = 10.00|IRESP = 42.91|ID = 1.0&apos;);select_point(evt);"

                 transform="translate(145.94715733333334,445.35867495591333)scale(5.0)"

                 width="5.0%" xlink:show="embed" xlink:type="simple" fill="blue"

                 >

                 height="5.0%"

                 >

                 xlink:href="" xlink:actuate="onLoad"/>

 

 

Thanks in advance for any advice,

 

Kind regards,

Dylan

Reply via email to