|
S.No |
Query |
Comments
| |
|
1 |
Auto update chart when add the new row at the runtime
|
Charts will update automatically when change the value of a cell, which cell should resides in the given DataRange of the chart. But you could not add new series based on the data entered in the new row at runtime. Anyhow this can be achieved by an workaround method that is If you want to add new series in the existing chart based on the values entered in the new row/column, you need to set the DataRange up to newly added row. Please find the below code sample for your reference.
| |
|
2 |
Drag and drop the data label as in MS-Excel |
In spreadsheet, Chart is rendered as an image so that currently spreadsheet does not have support to drag and drop the data label alone within the chart.
|
|
var shape = chart as ShapeImpl;
shape.Top = 200; shape.Left = 300; //Resizes the shappe, shape.Scale(100, 80); chart.Series[0].SerieType = ExcelChartType.Column_Clustered; chart.Series[1].SerieType = ExcelChartType.Scatter_Line_Markers; |