Class ChartControlViewModel
Base View Model for chart user controls.
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Charts
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class ChartControlViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
  Constructors
ChartControlViewModel(String, ChartPalette)
Initializes a new instance of the ChartControlViewModel.
Declaration
public ChartControlViewModel(string title, ChartPalette palette)
  Parameters
| 
        System.String
        title
         The title of the chart.  | 
    
| 
        ChartPalette
        palette
         The chart palette  | 
    
Properties
Background
Gets or sets the background of the chart usercontrol.
Declaration
public Brush Background { get; set; }
  Property Value
| 
        System.Windows.Media.Brush
         
  | 
    
BorderBrush
Gets or sets the border brush of the chart usercontrol.
Declaration
public Brush BorderBrush { get; set; }
  Property Value
| 
        System.Windows.Media.Brush
         
  | 
    
BorderThickness
Gets or sets the border thickness of the chart usercontrol.
Declaration
public Thickness BorderThickness { get; set; }
  Property Value
| 
        System.Windows.Thickness
         
  | 
    
ChartPalette
Gets or sets the ChartView palette.
Declaration
public ChartPalette ChartPalette { get; set; }
  Property Value
| 
        ChartPalette
         
  | 
    
ChartTitle
Gets or sets the chart title.
Declaration
public string ChartTitle { get; set; }
  Property Value
| 
        System.String
         
  | 
    
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
| 
        System.Windows.Visibility
         
  | 
    
SeriesModels
Gets or sets the series view models.
Declaration
public ObservableCollection<SeriesViewModel> SeriesModels { get; set; }
  Property Value
| 
        System.Collections.ObjectModel.ObservableCollection<SeriesViewModel>
         
  | 
    
TitleVisibility
Gets or sets the title visibility.
Declaration
public Visibility TitleVisibility { get; set; }
  Property Value
| 
        System.Windows.Visibility
         
  |