AppearanceImageHelper Class
Helps to generate series view-specific images the Chart Designer uses.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
Declaration
Remarks
The AppearanceImageHelper.CreateImage methods allow you to create images as in the Appearance Palette below:
Example
This example demonstrates how to create preview images like the following:
Image image = AppearanceImageHelper.CreateImage(
ViewType.ManhattanBar,
chartControl.AppearanceRepository["Light"],
chartControl.PaletteRepository["Office"],
0);
The code listed above uses the following API members:
Member | Description |
---|---|
AppearanceImageHelper |
Helps to generate series view-specific images the Chart Designer uses. |
AppearanceImageHelper.CreateImage | Creates the specified series view type’s image. |
ChartControl.AppearanceRepository | Returns the chart appearance repository. |
ChartControl.PaletteRepository | Returns the chart palette repository. |
Note
If necessary, use the ChartControl.AppearanceName and ChartControl.PaletteName properties to obtain names of the appearance and palette the Chart Control currently uses.
Inheritance
Object
AppearanceImageHelper
See Also