Results 1 to 2 of 2

Thread: GXT3 - Save (stream) chart to server

  1. #1
    Sencha User
    Join Date
    Apr 2010
    Vote Rating

    Default GXT3 - Save (stream) chart to server


    we're doing extensive charting using GXT3 and we would like to save generated charts so that they could be attached to PDF document. Is there any way to send generated GXT3 chart back to server? I found function for ExtJS, but I don't see anything similar for GXT3.

    Thanks in advance!

  2. #2
    Sencha User PhiLho's Avatar
    Join Date
    Nov 2011
    Near Paris, France
    Vote Rating


    Already asked some time ago, this is not planned by Sencha (or wasn't at the time of the reply) because GXT is a client-side technology while what we are asking is to be done on the server.

    Highcharts does this by sending the chart data to the server (via Ajax, I suppose). The server then runs the same JavaScript code to generate the SVG data and render it to a bitmap image or a PDF format, using Rhino and Batik, although some mentioned alternate solutions using Qt and its WebKit binding to do an off-display browser rendering.

    Altenatively, perhaps with some JavaScript, it might be possible to extract the generated SVG from the Dom of the browser's page and send it directly to the server. Hard to do in a portable way (and on IE, that's a VML rendering).

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts