public IValueAxis CreateValueAxis(AxisPosition pos) { XSSFValueAxis xssfValueAxis = new XSSFValueAxis(this, (long)(this.axis.Count + 1), pos); if (this.axis.Count == 1) { IChartAxis axi = this.axis[0]; axi.CrossAxis((IChartAxis)xssfValueAxis); xssfValueAxis.CrossAxis(axi); } this.axis.Add((IChartAxis)xssfValueAxis); return((IValueAxis)xssfValueAxis); }
public IChartAxis CreateDateAxis(AxisPosition pos) { long id = axis.Count + 1; XSSFDateAxis dateAxis = new XSSFDateAxis(this, id, pos); if (axis.Count == 1) { IChartAxis ax = axis[0]; ax.CrossAxis(dateAxis); dateAxis.CrossAxis(ax); } axis.Add(dateAxis); return(dateAxis); }
public IChartAxis CreateCategoryAxis(AxisPosition pos) { long id = axis.Count + 1; XSSFCategoryAxis categoryAxis = new XSSFCategoryAxis(this, id, pos); if (axis.Count == 1) { IChartAxis ax = axis[0]; ax.CrossAxis(categoryAxis); categoryAxis.CrossAxis(ax); } axis.Add(categoryAxis); return(categoryAxis); }
public IValueAxis CreateValueAxis(AxisPosition pos) { long id = axis.Count + 1; XSSFValueAxis valueAxis = new XSSFValueAxis(this, id, pos); if (axis.Count == 1) { IChartAxis ax = axis[0]; ax.CrossAxis(valueAxis); valueAxis.CrossAxis(ax); } axis.Add(valueAxis); return(valueAxis); }