Format
IChartDataPointLevel.Format property
表示数据点级别的格式化属性。 读/写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;
}
也可以看看
- interface IFormat
- interface IChartDataPointLevel
- 命名空间 Aspose.Slides.Charts
- 部件 Aspose.Slides