Ανάγνωση στα Αγγλικά Επεξεργασία

Κοινή χρήση μέσω


Chart.PaletteCustomColors Property

Definition

Gets or sets an array of custom palette colors.

[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.ColorArrayConverter))]
public System.Drawing.Color[] PaletteCustomColors { get; set; }

Property Value

Color[]

An array of Color objects that represent the set of colors used for series on the chart.

Attributes

Remarks

If you need more than 16 colors or you want to apply your own colors to the chart, you must define a custom palette. A custom palette let you add your own colors in the order you want them to appear on the chart. This type of palette is especially helpful if the number of series in your chart is unknown at design time.

This property has no effect when the Palette property is not set to ChartColorPalette.None.

Applies to

Προϊόν Εκδόσεις
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1