Class
ChartControlViewModel

Base View Model for chart user controls.

Definition

Constructors

ChartControlViewModel(string, ChartPalette)

Initializes a new instance of the ChartControlViewModel.

Declaration

cs-api-definition
public ChartControlViewModel(string title, ChartPalette palette)

Parameters

title

string

The title of the chart.

palette

ChartPalette

The chart palette

Properties

Background

Gets or sets the background of the chart usercontrol.

Declaration

cs-api-definition
public Brush Background { get; set; }

Property Value

Brush

BorderBrush

Gets or sets the border brush of the chart usercontrol.

Declaration

cs-api-definition
public Brush BorderBrush { get; set; }

Property Value

Brush

BorderThickness

Gets or sets the border thickness of the chart usercontrol.

Declaration

cs-api-definition
public Thickness BorderThickness { get; set; }

Property Value

Thickness

ChartPalette

Gets or sets the ChartView palette.

Declaration

cs-api-definition
public ChartPalette ChartPalette { get; set; }

Property Value

ChartPalette

ChartTitle

Gets or sets the chart title.

Declaration

cs-api-definition
public string ChartTitle { get; set; }

Property Value

string

LegendPosition

Gets or sets the legend position.

Declaration

cs-api-definition
public LegendPosition LegendPosition { get; set; }

Property Value

LegendPosition

LegendVisibility

Gets or sets the legend visibility.

Declaration

cs-api-definition
public Visibility LegendVisibility { get; set; }

Property Value

Visibility

SeriesModels

Gets or sets the series view models.

Declaration

cs-api-definition
public ObservableCollection<SeriesViewModel> SeriesModels { get; set; }

Property Value

ObservableCollection<SeriesViewModel>

TitleVisibility

Gets or sets the title visibility.

Declaration

cs-api-definition
public Visibility TitleVisibility { get; set; }

Property Value

Visibility