ChartDataPointLevelFormat Property

Represents formatting properties of data point level. Read/write IFormat.

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
public IFormat Format { get; }

Property Value

Type: IFormat

Implements

IChartDataPointLevelFormat
Examples
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;
}
See Also