AddChart有多个重载,你可以使用其他的方法。比如- FarPoint.Web.Spread.Model.CellRange celRange1 = new FarPoint.Web.Spread.Model.CellRange(0, 0, 7, 2);
- FarPoint.Web.Spread.Model.CellRange celRange2 = new FarPoint.Web.Spread.Model.CellRange(0, 2, 7, 2);
- FpSpread1.Sheets[0].AddChart(new FarPoint.Web.Spread.Model.CellRange[] { celRange1, celRange2 }, typeof(FarPoint.Web.Chart.BarSeries), 400, 400, 0, 0);
复制代码 |