Format
IChartDataPointLevel.Format 属性
表示数据点级别的格式属性。读/写 IFormat
。
public IFormat Format { get; }
示例
using (Presentation pres = new Presentation())
{
IChart chart = pres.Slides[0].Shapes.AddChart(ChartType.Treemap, 50, 50, 500, 400);
IChartSeries series = chart.ChartData.Series[0];
IChartDataPointLevel dataPointLevel = series.DataPoints[7].DataPointLevels[2];
dataPointLevel.Format.Fill.FillType = FillType.Solid;
dataPointLevel.Format.Fill.SolidFillColor.Color = Color.Red;
}
另见
- 接口 IFormat
- 接口 IChartDataPointLevel
- 命名空间 Aspose.Slides.Charts
- 程序集 Aspose.Slides