Share via


ChartTheme Class

Specifies visual themes for a Chart object.

Inheritance Hierarchy

System.Object
  System.Web.Helpers.ChartTheme

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

Syntax

'Declaration
Public NotInheritable Class ChartTheme
'Usage
public static class ChartTheme
public ref class ChartTheme abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ChartTheme =  class end
public final class ChartTheme

The ChartTheme type exposes the following members.

Fields

  Name Description
Public fieldStatic member Blue A theme for 2D charting that features a visual container with a blue gradient, rounded edges, drop-shadowing, and high-contrast gridlines.
Public fieldStatic member Green A theme for 2D charting that features a visual container with a green gradient, rounded edges, drop-shadowing, and low-contrast gridlines.
Public fieldStatic member Vanilla A theme for 2D charting that features no visual container and no gridlines.
Public fieldStatic member Vanilla3D A theme for 3D charting that features no visual container, limited labeling and, sparse, high-contrast gridlines.
Public fieldStatic member Yellow A theme for 2D charting that features a visual container that has a yellow gradient, rounded edges, drop-shadowing, and high-contrast gridlines.

Top

Remarks

The themes for the Chart class define properties such as the position and color of chart elements, chart style, and font selection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Helpers Namespace