Aspose Cells for Chart

Last post 12-12-2008, 11:55 AM by RajaSolo. 2 replies.
Sort Posts: Previous Next
  •  12-11-2008, 8:01 AM 156059

    Aspose Cells for Chart

    Shall I use two workbooks one for showing the records in cells and another for displaying the chart in a same worksheet.
    Filed under: Aspose Cells
     
  •  12-11-2008, 9:42 AM 156077 in reply to 156059

    Re: Aspose Cells for Chart

    Hi,

    Well, I am not clear about your query, could elaborate it more, so that we can understand it completely.

    When you create charts in an excel file, it's up to you to decide whether you want two worksheets in a workbook i.e.., one for data source and other for displaying charts. You can also fill the data into different cells (as source data) and create the chart in the same worksheet for your need. Aspose.Cells for .NET provide the complete feasibility for the users, e.g..,

    //Add a chart sheet.

    int sheetIndex = workbook.Worksheets.Add(SheetType.Chart);

    //Add a simple sheet.

    int sheetIndex = workbook.Worksheets.Add(SheetType.Worksheet);

     

    Thank you.


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  12-12-2008, 11:55 AM 156280 in reply to 156077

    Re: Aspose Cells for Chart

    Hi Amjad.  Thank you very much for your suggestion.

    chart.NSeries.Add("Data!A2,Data!A4,Data!A7,Data!A11,Data!A20", true);

    It works fine.  Thanks a lot.

     

     
View as RSS news feed in XML