PDA

View Full Version : How add title on chart's svg



anto75
14 Mar 2012, 2:13 AM
Hi all,
I view extjs charts correclty.. and I'd like export these. To view external informations as title and subtitle I'm using two different div :


...
<div id="<%=executionId%>_title" align="center" style="width:90%;"></div>
<div id="<%=executionId%>_subtitle" align="center" style="width:90%;"></div>
<div id="<%=executionId%>" align="center" style="width:90%;"></div> --> div of the chart


In the export functionality I'm using the save method to export the chart in svg, BUT I'd like to add the title and subtitle informations...

There are some way to add manually these information to the svg of the chart?

Thank you,

Antonella

mitchellsimoens
14 Mar 2012, 10:26 AM
The chart doesn't have a title so the save method won't pick it up if you add something so you would have to add it in there after the save.

anto75
15 Mar 2012, 6:36 AM
Right,
than another question... the save method create a fisical svg file on the server? If yes, where? Is possible get it to modify with batik (for example)? Eventualy...is this path configurable???

Thank you very much,

Antonella