Skip to main content

AppearanceImageHelper.CreateImage(ViewType, ChartAppearance, Palette, Int32) Method

Creates the specified series view type’s image.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public static Image CreateImage(
    ViewType viewType,
    ChartAppearance appearance,
    Palette palette,
    int colorIndex
)

Parameters

Name Type Description
viewType ViewType

The series view type that the helper uses to create the image.

appearance ChartAppearance

The chart appearance that the helper uses to create the image.

palette Palette

The palette that provides series colors.

colorIndex Int32

The color index in the palette. See ChartControl.PaletteBaseColorNumber for more information.

Returns

Type Description
Image

The image that shows the specified chart appearance.

See Also