[]
        
(Showing Draft Content)

C1.WPF.C1Chart.C1Chart

C1Chart Class

Represents a C1Chart control.

Namespace: C1.WPF.C1Chart
Assembly: C1.WPF.C1Chart.4.6.2.dll
Syntax
public class C1Chart : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, INotifyPropertyChanged, IDisposable

Constructors

Name Description
C1Chart()

Initializes a new instance of the C1Chart class.

Fields

Name Description
AggregateProperty

Identifies the Aggregate dependency property.

ChartTypeProperty

Identifies the ChartType dependency property.

ChildrenProperty

Identifies the Children dependency property.

CustomPaletteProperty

Identifies the CustomPalette dependency property.

DataProperty

Identifies the Data dependency property.

LegendItemsProperty

Identifies the LegendItems dependency property.

ScrollDownCommand

The command that scrolls y-axis of chart.

ScrollLeftCommand

The command that scrolls x-axis of chart.

ScrollRightCommand

The command that scrolls x-axis of chart.

ScrollToBottomCommand

The command that scrolls y-axis of chart to the minimal value.

ScrollToLeftEndCommand

The command that scrolls x-axis of chart to the minimal value.

ScrollToRightEndCommand

The command that scrolls x-axis of chart to the maximum value.

ScrollToTopCommand

The command that scrolls Y-axis of chart to the maximum value.

ScrollUpCommand

The command that scrolls y-axis of chart.

ThemeProperty

Identifies the Theme dependency property.

ViewProperty

Identifies the View dependency property.

Properties

Name Description
ActionUpdateDelay

Gets or sets chart update delay in milliseconds after interactive action.

Actions

Stores the Action objects that control interactive features at runtime.

Aggregate

Gets or sets the value which specifies how to aggregate data for charting.

AutoGenerateSeries

Gets or sets a value that indicates whether data series are created automatically.

Bindings

Gets or sets chart bindings.

ChartType

Gets or sets the chart type.

Children

Gets the collection of child elements.

CustomPalette

Gets or sets the custom brushes array for the plot elements.

Data

Gets or sets the chart data.

GradientMethod

Specifies how to handle gradient brushes in themes and custom palettes.

LegendItems

Gets the collection of legend items.

Palette

Gets or sets color palette.

Theme

Gets or sets the chart theme.

View

Gets or sets the chart view.

Methods

Name Description
ArrangeOverride(Size)

Arranges and sizes the content of a control.

BeginUpdate()

Starts batch updating.

EndUpdate()

Ends batch updating.

FindPlotElement(string)

Find the plot element by its name.

OnInitialized(EventArgs)
OnMouseDown(MouseButtonEventArgs)

Handles MouseDown event.

OnMouseMove(MouseEventArgs)

Handles MouseMove event.

OnMouseUp(MouseButtonEventArgs)

Handles MouseUp event.

OnMouseWheel(MouseWheelEventArgs)

Called before MouseWheel event.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked when dependency property was changed.

OnRender(DrawingContext)

Draws the content of the control.

OnVisualParentChanged(DependencyObject)

Invoked when visual parent was changed.

Reset(bool)

Resets the chart specific properties to its default state. The common control properties and properties controlling visual appearance such as Background, Foreground, Palette, Theme are not changed.

Events

Name Description
ActionEnter

Fires when interactive action is started.

ActionLeave

Fires when interactive action is finished.

PropertyChanged

Fires when a property value was changed.