Chart.PaletteCustomColors プロパティ

定義

カスタム パレット カラーの配列を取得または設定します。

public:
 property cli::array <System::Drawing::Color> ^ PaletteCustomColors { cli::array <System::Drawing::Color> ^ get(); void set(cli::array <System::Drawing::Color> ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.ColorArrayConverter))]
public System.Drawing.Color[] PaletteCustomColors { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.ColorArrayConverter))>]
member this.PaletteCustomColors : System.Drawing.Color[] with get, set
Public Property PaletteCustomColors As Color()

プロパティ値

Color[]

グラフの系列に使用される色のセットを表す Color オブジェクトの配列。

属性

注釈

16 色を超える色が必要な場合、または独自の色をグラフに適用する場合は、カスタム パレットを定義する必要があります。 カスタム パレットを使用すると、グラフに表示される順序で独自の色を追加できます。 この種類のパレットは、デザイン時にグラフ内の系列の数が不明な場合に特に役立ちます。

プロパティが にNone設定されていない場合、Paletteこのプロパティは無効です。

適用対象