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