Gives access to the custom palette associated with the surface. To make the
chart use the custom palette you have to set the AutomaticPalette property to false.
The following example enables the custom palette, clears it and adds
several new entries:
surface.AutomaticPalette = False
surface.Palette.Clear()
surface.Palette.Add(0.0, Color.Purple)
surface.Palette.Add(1.5, Color.MediumSlateBlue)
surface.Palette.Add(3.0, Color.CornflowerBlue)
surface.AutomaticPalette = false;
surface.Palette.Clear();
surface.Palette.Add(0.0, Color.Purple);
surface.Palette.Add(1.5, Color.MediumSlateBlue);
surface.Palette.Add(3.0, Color.CornflowerBlue);
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2