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:
public class CartesianChartGrid : ChartElementPresenter, IChartElementPresenter
Inheritance: objectRadControlBasePresenterBaseChartElementPresenterCartesianChartGrid
Implements:
Inherited Members
Constructors
Initializes a new instance of the CartesianChartGrid class.
public CartesianChartGrid()
Fields
MajorLinesVisibilityProperty
DependencyProperty
Identifies the MajorLinesVisibility dependency property.
public static readonly DependencyProperty MajorLinesVisibilityProperty
MajorXLineDashArrayProperty
DependencyProperty
Identifies the MajorXLineDashArray property.
public static readonly DependencyProperty MajorXLineDashArrayProperty
MajorXLineStyleProperty
DependencyProperty
Identifies the MajorXLineStyle property.
public static readonly DependencyProperty MajorXLineStyleProperty
MajorYLineDashArrayProperty
DependencyProperty
Identifies the MajorYLineDashArray property.
public static readonly DependencyProperty MajorYLineDashArrayProperty
MajorYLineStyleProperty
DependencyProperty
Identifies the MajorYLineStyle property.
public static readonly DependencyProperty MajorYLineStyleProperty
MinorLinesVisibilityProperty
DependencyProperty
Identifies the MinorLinesVisibility dependency property.
public static readonly DependencyProperty MinorLinesVisibilityProperty
MinorStripLinesVisibilityProperty
DependencyProperty
Identifies the MinorStripLinesVisibility dependency property.
public static readonly DependencyProperty MinorStripLinesVisibilityProperty
MinorXLineDashArrayProperty
DependencyProperty
Identifies the MinorXLineDashArray property.
public static readonly DependencyProperty MinorXLineDashArrayProperty
MinorXLineStyleProperty
DependencyProperty
Identifies the MinorXLineStyle property.
public static readonly DependencyProperty MinorXLineStyleProperty
MinorYLineDashArrayProperty
DependencyProperty
Identifies the MinorYLineDashArray property.
public static readonly DependencyProperty MinorYLineDashArrayProperty
MinorYLineStyleProperty
DependencyProperty
Identifies the MinorYLineStyle property.
public static readonly DependencyProperty MinorYLineStyleProperty
StripLinesVisibilityProperty
DependencyProperty
Identifies the StripLinesVisibility dependency property.
public static readonly DependencyProperty StripLinesVisibilityProperty
Properties
Gets or sets the visibility of major grid lines.
public GridLineVisibility MajorLinesVisibility { get; set; }
MajorXLineDashArray
DoubleCollection
Gets or sets the dash array used to define each major X-line StrokeDashArray property.
public DoubleCollection MajorXLineDashArray { get; set; }
Gets or sets the major-x-line interval.
public int MajorXLineInterval { get; set; }
Gets or sets the render mode of major X-lines.
public GridLineRenderMode MajorXLinesRenderMode { get; set; }
MajorXLineStyle
Style
Gets or sets the style that defines the appearance of the major lines along the X-axis.
public Style MajorXLineStyle { get; set; }
MajorYLineDashArray
DoubleCollection
Gets or sets the dash array used to define each major Y-line StrokeDashArray property.
public DoubleCollection MajorYLineDashArray { get; set; }
Gets or sets the major-y-line interval.
public int MajorYLineInterval { get; set; }
Gets or sets the render mode of major X-lines.
public GridLineRenderMode MajorYLinesRenderMode { get; set; }
MajorYLineStyle
Style
Gets or sets the style that defines the appearance of the major lines along the Y-axis.
public Style MajorYLineStyle { get; set; }
Gets or sets the visibility of minor grid lines.
public GridLineVisibility MinorLinesVisibility { get; set; }
Gets or sets the visibility of grid's Stripes.
public GridLineVisibility MinorStripLinesVisibility { get; set; }
MinorXLineDashArray
DoubleCollection
Gets or sets the dash array used to define each minor X-line StrokeDashArray property.
public DoubleCollection MinorXLineDashArray { get; set; }
MinorXLineStyle
Style
Gets or sets the style that defines the appearance of the minor lines along the X-axis.
public Style MinorXLineStyle { get; set; }
MinorYLineDashArray
DoubleCollection
Gets or sets the dash array used to define each minor Y-line StrokeDashArray property.
public DoubleCollection MinorYLineDashArray { get; set; }
MinorYLineStyle
Style
Gets or sets the style that defines the appearance of the minor lines along the Y-axis.
public Style MinorYLineStyle { get; set; }
Gets or sets the visibility of grid's Stripes.
public GridLineVisibility StripLinesVisibility { get; set; }
Gets the collection of brushes used to display X-axis stripes.
public ObservableCollection<Brush> XStripeBrushes { get; }
Gets the collection of styles used to display Y-axis stripes.
public ObservableCollection<Brush> YStripeBrushes { get; }
Methods
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.
public override void OnApplyTemplate()
Overrides:
Occurs when the presenter has been successfully attached to its owning RadChartBase instance.
protected override void OnAttached()
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Occurs when the presenter has been successfully detached from its owning RadChartBase instance.
protected override void OnDetached(RadChartBase oldChart)
Overrides:
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides: