Bagikan melalui


LegendItem.ImageStyle Properti

Definisi

Mendapatkan atau mengatur gaya tampilan gambar item legenda.

public:
 property System::Web::UI::DataVisualization::Charting::LegendImageStyle ImageStyle { System::Web::UI::DataVisualization::Charting::LegendImageStyle get(); void set(System::Web::UI::DataVisualization::Charting::LegendImageStyle value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.LegendImageStyle ImageStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.ImageStyle : System.Web.UI.DataVisualization.Charting.LegendImageStyle with get, set
Public Property ImageStyle As LegendImageStyle

Nilai Properti

Nilai LegendImageStyle enumerasi.

Atribut

Keterangan

Gaya ini menentukan bagaimana simbol terkait item akan ditampilkan.

Gaya Line dapat digabungkan dengan Marker gaya. Untuk mencapai hal ini, pertama-tama atur ImageStyle properti ke Line. Kemudian gunakan MarkerImage properti untuk menentukan gambar penanda, atau MarkerStyle properti untuk menentukan gaya penanda. Simbol yang dihasilkan akan menjadi kombinasi garis dan gambar atau penanda.

Catatan

Properti ini hanya berlaku untuk LegendCell objek dengan salah satu LegendCellTypeSeriesSymbol atau Image.

Berlaku untuk