Class
CartesianChartGrid

Represents a decoration over a RadCartesianChart plot area. Adds major and minor lines, connected to each Major and Minor tick of each axis.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class CartesianChartGrid : ChartElementPresenter, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterCartesianChartGrid

Implements: IChartElementPresenter

Inherited Members ChartElementPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs)ChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(ChartNode)PresenterBase.InvalidatePalette()PresenterBase.MeasureNodeOverride(ChartNode, object)PresenterBase.RefreshNodeCore(ChartNode)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.RenderSurfaceRadControlBase.OnUnloaded(object, RoutedEventArgs)RadControlBase.OnLoaded(object, RoutedEventArgs)RadControlBase.IsLoadedRadControlBase.IsTemplateApplied

Constructors

CartesianChartGrid()

Initializes a new instance of the CartesianChartGrid class.

Declaration

cs-api-definition
public CartesianChartGrid()

Fields

MajorLinesVisibilityProperty

Identifies the MajorLinesVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorLinesVisibilityProperty

Field Value

DependencyProperty

MajorXLineDashArrayProperty

Identifies the MajorXLineDashArray property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorXLineDashArrayProperty

Field Value

DependencyProperty

MajorXLineStyleProperty

Identifies the MajorXLineStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorXLineStyleProperty

Field Value

DependencyProperty

MajorYLineDashArrayProperty

Identifies the MajorYLineDashArray property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorYLineDashArrayProperty

Field Value

DependencyProperty

MajorYLineStyleProperty

Identifies the MajorYLineStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorYLineStyleProperty

Field Value

DependencyProperty

MinorLinesVisibilityProperty

Identifies the MinorLinesVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorLinesVisibilityProperty

Field Value

DependencyProperty

MinorStripLinesVisibilityProperty

Identifies the MinorStripLinesVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorStripLinesVisibilityProperty

Field Value

DependencyProperty

MinorXLineDashArrayProperty

Identifies the MinorXLineDashArray property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorXLineDashArrayProperty

Field Value

DependencyProperty

MinorXLineStyleProperty

Identifies the MinorXLineStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorXLineStyleProperty

Field Value

DependencyProperty

MinorYLineDashArrayProperty

Identifies the MinorYLineDashArray property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorYLineDashArrayProperty

Field Value

DependencyProperty

MinorYLineStyleProperty

Identifies the MinorYLineStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorYLineStyleProperty

Field Value

DependencyProperty

StripLinesVisibilityProperty

Identifies the StripLinesVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StripLinesVisibilityProperty

Field Value

DependencyProperty

Properties

MajorLinesVisibility

Gets or sets the visibility of major grid lines.

Declaration

cs-api-definition
public GridLineVisibility MajorLinesVisibility { get; set; }

Property Value

GridLineVisibility

MajorXLineDashArray

Gets or sets the dash array used to define each major X-line StrokeDashArray property.

Declaration

cs-api-definition
public DoubleCollection MajorXLineDashArray { get; set; }

Property Value

DoubleCollection

MajorXLineInterval

Gets or sets the major-x-line interval.

Declaration

cs-api-definition
public int MajorXLineInterval { get; set; }

Property Value

int

MajorXLineStyle

Gets or sets the style that defines the appearance of the major lines along the X-axis.

Declaration

cs-api-definition
public Style MajorXLineStyle { get; set; }

Property Value

Style

MajorXLinesRenderMode

Gets or sets the render mode of major X-lines.

Declaration

cs-api-definition
public GridLineRenderMode MajorXLinesRenderMode { get; set; }

Property Value

GridLineRenderMode

MajorYLineDashArray

Gets or sets the dash array used to define each major Y-line StrokeDashArray property.

Declaration

cs-api-definition
public DoubleCollection MajorYLineDashArray { get; set; }

Property Value

DoubleCollection

MajorYLineInterval

Gets or sets the major-y-line interval.

Declaration

cs-api-definition
public int MajorYLineInterval { get; set; }

Property Value

int

MajorYLineStyle

Gets or sets the style that defines the appearance of the major lines along the Y-axis.

Declaration

cs-api-definition
public Style MajorYLineStyle { get; set; }

Property Value

Style

MajorYLinesRenderMode

Gets or sets the render mode of major X-lines.

Declaration

cs-api-definition
public GridLineRenderMode MajorYLinesRenderMode { get; set; }

Property Value

GridLineRenderMode

MinorLinesVisibility

Gets or sets the visibility of minor grid lines.

Declaration

cs-api-definition
public GridLineVisibility MinorLinesVisibility { get; set; }

Property Value

GridLineVisibility

MinorStripLinesVisibility

Gets or sets the visibility of grid's Stripes.

Declaration

cs-api-definition
public GridLineVisibility MinorStripLinesVisibility { get; set; }

Property Value

GridLineVisibility

MinorXLineDashArray

Gets or sets the dash array used to define each minor X-line StrokeDashArray property.

Declaration

cs-api-definition
public DoubleCollection MinorXLineDashArray { get; set; }

Property Value

DoubleCollection

MinorXLineStyle

Gets or sets the style that defines the appearance of the minor lines along the X-axis.

Declaration

cs-api-definition
public Style MinorXLineStyle { get; set; }

Property Value

Style

MinorYLineDashArray

Gets or sets the dash array used to define each minor Y-line StrokeDashArray property.

Declaration

cs-api-definition
public DoubleCollection MinorYLineDashArray { get; set; }

Property Value

DoubleCollection

MinorYLineStyle

Gets or sets the style that defines the appearance of the minor lines along the Y-axis.

Declaration

cs-api-definition
public Style MinorYLineStyle { get; set; }

Property Value

Style

StripLinesVisibility

Gets or sets the visibility of grid's Stripes.

Declaration

cs-api-definition
public GridLineVisibility StripLinesVisibility { get; set; }

Property Value

GridLineVisibility

XStripeBrushes

Gets the collection of brushes used to display X-axis stripes.

Declaration

cs-api-definition
public ObservableCollection<Brush> XStripeBrushes { get; }

Property Value

ObservableCollection<Brush>

YStripeBrushes

Gets the collection of styles used to display Y-axis stripes.

Declaration

cs-api-definition
public ObservableCollection<Brush> YStripeBrushes { get; }

Property Value

ObservableCollection<Brush>

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides PresenterBase.OnApplyTemplate()

OnAttached()

Occurs when the presenter has been successfully attached to its owning RadChartBase instance.

Declaration

cs-api-definition
protected override void OnAttached()

Overrides ChartElementPresenter.OnAttached()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnDetached(RadChartBase)

Occurs when the presenter has been successfully detached from its owning RadChartBase instance.

Declaration

cs-api-definition
protected override void OnDetached(RadChartBase oldChart)

Parameters

oldChart

RadChartBase

Overrides ChartElementPresenter.OnDetached(RadChartBase)

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

Overrides PresenterBase.OnInitialized(EventArgs)