1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    31
    Vote Rating
    0
    raman4984 is on a distinguished road

      0  

    Default Answered: ExtJs bar chart export as png or jpeg image

    Answered: ExtJs bar chart export as png or jpeg image


    Hi,

    I am trying to find out Export feature for Bar charts to JPEG/PNG... I didn't find this any where in extJs examples section. Please let me know if this feature is available in Extjs charts or not. Please share the examples or URLs on this, if any.

    Any thing on this will be much appreciable!!


  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,925
    Answers
    458
    Vote Rating
    634
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      1  
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    31
    Vote Rating
    0
    raman4984 is on a distinguished road

      0  

    Default


    yes, we can use that "save Chart" feature. But I was looking for "right click menu" functionality. Please let me know if this feature is also available in ExtJs. Thanks!!

  4. #4
    Sencha User
    Join Date
    Oct 2013
    Location
    singapore
    Posts
    9
    Vote Rating
    1
    ravindran is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    the button provided in the above link , does not seem to save chart/download any image file.
    Nor is the chart.save({ type: 'image/png' }); command working in our browser.

    Kindly clarify

  5. #5
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    3,620
    Answers
    149
    Vote Rating
    68
    Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough

      0  

    Default


    You might want to try a more up-to-date version of the chart:
    docs.sencha.com/extjs/4.2.2/#!/example/direct/direct-tree.html
    Get on the Fast Track with Sencha Training http://sencha.com/training

    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

  6. #6
    Sencha User
    Join Date
    Oct 2013
    Location
    singapore
    Posts
    9
    Vote Rating
    1
    ravindran is on a distinguished road

      0  

    Default save functionality of chart

    save functionality of chart


    No,

    I was looking for the save functionality of the chart.
    2 days back, the save was just leading to a blank page. Now again it works properly.

    could u tell me how to enable it in the intranet.. i.e. to be able to save the chart as an image without actually leading to the SVG server in sencha.

    Additionally, I would like to specify the filename for the download. Could you point me to a syntax doc for the same.

    Much Obliged.

Thread Participants: 3

Tags for this Thread