Skip to main content

Define an Appearance for Painting All Visual Elements

You can select a built-in appearance to easily change a chart’s overall look and feel.

The ASP.NET Chart Control provides numerous built-in appearance presets that define the look of a chart’s key elements - such as its diagram, axes, legend and series.

Note

To quickly change the appearance of your chart, you can use the Appearance page of the Chart Wizard.

A chart’s appearance is determined by the WebChartControl.AppearanceName property. A list of predefined appearances is returned by the WebChartControl.GetAppearanceNames method.

AppearanceName

The following images demonstrate a chart with two different appearances.

AppearanceName = Default AppearanceName = Dark Flat
DefaultAppearance DarkFlatAppearance

When you specify the appearance of a chart, you may wish to individually paint each series, or each point within a series (e.g., a Bar series), and define the palette that is used to paint them. For details on how to use a palette to paint chart series, see the following help topic: Choose a Palette for Painting Series, Points and Indicators.

For a step-by-step tutorial, refer to the following help topic: How to: Customize a Chart’s Appearance.

See Also