ChartAppearance Object
Description
Represents the appearance of a chart and its elements.
For a list of all members defined in this module, see ChartAppearance Members.
Object Model




Remarks
Chart Appearance contains methods to load pre-set palettes and appearances for the chart and chart series to use. Appearances affect only the colors of the chart itself; they do not affect the series. Palettes affect the colors of the series and legend but do not affect the actual chart.
Example
Dim AppearanceList
Dim AppearanceIndex As Long
Dim PaletteList
Dim PaletteIndex As Long
AppearanceList = Array("Nature", "Black", "Gray")
AppearanceIndex = 0
PaletteList = Array(
"Victorian", "Vibrant Pastel", "Vibrant", "Tropical", "Summer",
"Spring Time", "Rainbow", "Purple", "Primary Colors",
"Postmodern", "Photodesign", "Pastel", "Office", "Orange Green",
"Nature", "Natural", "Impresionism", "Illustration", "Harvest",
"Green Brown", "Green Blue", "Green", "Gray", "Four Color",
"Fire", "Earth Tone", "Danville", "Caribbean", "Cappuccino",
"Blue Gray", "Blue"
)
PaletteIndex = 9
ActiveChartControl.Content.Appearance.SetAppearance AppearanceList(AppearanceIndex)
ActiveChartControl.Content.Appearance.SetPalette PaletteList(PaletteIndex)
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.