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
Initializes a new instance of the ChartControlViewModel.
public ChartControlViewModel(string title, ChartPalette palette)
The title of the chart.
paletteChartPaletteThe chart palette
Properties
Background
Brush
Gets or sets the background of the chart usercontrol.
public Brush Background { get; set; }
BorderBrush
Brush
Gets or sets the border brush of the chart usercontrol.
public Brush BorderBrush { get; set; }
BorderThickness
Thickness
Gets or sets the border thickness of the chart usercontrol.
public Thickness BorderThickness { get; set; }
Gets or sets the ChartView palette.
public ChartPalette ChartPalette { get; set; }
Gets or sets the chart title.
public string ChartTitle { get; set; }
LegendPosition
LegendPosition
Gets or sets the legend position.
public LegendPosition LegendPosition { get; set; }
LegendVisibility
Visibility
Gets or sets the legend visibility.
public Visibility LegendVisibility { get; set; }
Gets or sets the series view models.
public ObservableCollection<SeriesViewModel> SeriesModels { get; set; }
TitleVisibility
Visibility
Gets or sets the title visibility.
public Visibility TitleVisibility { get; set; }