Base View Model for chart user controls.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Charts
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
C#
public class ChartControlViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseChartControlViewModel
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChartControlViewModel.
C#
public ChartControlViewModel(string title, ChartPalette palette)
The title of the chart.
paletteChartPaletteThe chart palette
Properties
Gets or sets the background of the chart usercontrol.
C#
public Brush Background { get; set; }
Gets or sets the border brush of the chart usercontrol.
C#
public Brush BorderBrush { get; set; }
Gets or sets the border thickness of the chart usercontrol.
C#
public Thickness BorderThickness { get; set; }
Gets or sets the ChartView palette.
C#
public ChartPalette ChartPalette { get; set; }
Gets or sets the chart title.
C#
public string ChartTitle { get; set; }
Gets or sets the legend position.
C#
public LegendPosition LegendPosition { get; set; }
Gets or sets the legend visibility.
C#
public Visibility LegendVisibility { get; set; }
Gets or sets the series view models.
C#
public ObservableCollection<SeriesViewModel> SeriesModels { get; set; }
Gets or sets the title visibility.
C#
public Visibility TitleVisibility { get; set; }