in
Forums
Blogs
DevExpress.com
Client Center
Support Center
DevExpress Channel

how to export the chart to excel for web chart control

Last post 6/5/2009 1:57 AM by swapnil ekhe. 3 replies.
Sort Posts: Previous Next
  • 6/4/2009 8:39 AM

    how to export the chart to excel for web chart control

    I am using WebChartControl to show the various types of charts

    I want to export the chart image to excel  

    please help

  • 6/4/2009 8:52 AM In reply to

    Re: how to export the chart to excel for web chart control

    Hello,

    You should call the ASPxClientWebChartControl.SaveToDisk() method, and define the "xls" format as a parameter. There is a Code Central example that you can download at http://www.devexpress.com/example=E544.

    Regards,
    George (R&D, .NET Team).

    P.S. This is a peer-to-peer forum. For technical support, search our knowledge base at http://search.devexpress.com or contact our Support Team directly at http://www.devexpress.com/Support/Center/.
  • 6/4/2009 10:46 AM In reply to

    Re: how to export the chart to excel for web chart control

    I have tried the example : at http://www.devexpress.com/example=E544.

    I am getting the following error after clicking on SaveToWindow button

    Specified argument was out of the range of valid values.
    Parameter name: offset

    and after clicking on SaveToDisk ,it shows nothing means where to save or pdf genaraetd pdf

    here in my application I am creating my control dynamically.

  • 6/5/2009 1:57 AM In reply to

    Re: how to export the chart to excel for web chart control

    thanks,

    it is working now... Its due to not  having reference to the DevExpress.XtraPrinting assembly.

     

    Filed under: ,
Copyright © 1998-2010 Developer Express Inc.
ALL RIGHTS RESERVED