Results 1 to 8 of 8

Thread: Touch Charts - Export to PDF or save as image Format PNG / JPEG

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    26
    Vote Rating
    0
      0  

    Default Touch Charts - Export to PDF or save as image Format PNG / JPEG

    Hi all,


    Is there any feature in Touch charts1.0 to export it in a spreadsheet or PDF or either saving as image format.

    As mentioned in Ext js 4.1 is there any option to save charts.

    save( Object config )Saves the chart by either triggering a download or returning a string containing the chart data. The action depends on the export type specified in the passed configuration.
    Possible export types: - "image/png" - "image/svg+xml"
    Other configuration properties: - width
    Example usage:
    chart.save({

    type:'image/png'});
    Parameters

    • config : Object(required) Object which contains information about the export-type

    is there any idea to include this feature in touch charts 2.0 or in sencha touch??

    Or else if these option are not available is there any other way to achieve this.

    Any work around appreciated.

    Thanks

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    It looks like Touch Charts 2 will have the save method and SVG exporter.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    26
    Vote Rating
    0
      0  

    Red face thats good to hear

    Oh.. Thanks for the news mitchell. Where can i find the docs for touch charts2.0.

    Is there any workround for charts exporting to pdf or converting to SVG format.

    Gimme some brief idea for achieving this.

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Touch Charts 2 is not available quite yet but will be soon.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  5. #5
    Sencha User
    Join Date
    Jun 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Hi,

    I'm using Sencha Touch Charts, and i would like to know if the save method is available.

    Thanks

  6. #6
    Sencha User
    Join Date
    Jul 2011
    Location
    Holland
    Posts
    98
    Answers
    2
    Vote Rating
    2
      0  

    Default

    Yeah it would be absolutely awesome to be able to save as PDF.

  7. #7
    Sencha User
    Join Date
    Jun 2012
    Posts
    14
    Vote Rating
    0
      0  

    Default

    Hi,

    Just wondering if anyone has made any progress with this. I'm working on a project for a client that renders a chart based on user input data (straight forward enough ), but then also needs to email a PDF version of the data. PDF generation and emailing attachments I have figured out a strategy for, but I can't seem to find a way to export a sencha chart to an image file for use with JSPDF.

    Frustrating, as clearly the image data must exist there somewhere, even if it takes a low level DOM interaction to retrieve it.

    It would seem like a crime to use a 3rd party chart library to achieve this, when the new Sencha Chart library does such a great job, but I really need to get the image data so I can embed it in a PDF.

    Any ideas?

    Thanks,
    Tristan

  8. #8
    Sencha User
    Join Date
    Jul 2011
    Location
    Holland
    Posts
    98
    Answers
    2
    Vote Rating
    2
      0  

    Default

    I didn't figure anything out. So if anyone has a solution to make this work, then I'd be still interested too.

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
  •