[]
        
(Showing Draft Content)

C1.WPF.Chart.FlexChart

FlexChart Class

FlexChart control.

Namespace: C1.WPF.Chart
Assembly: C1.WPF.Chart.dll
Syntax
[TemplatePart(Name = "canvas", Type = typeof(RenderCanvas))]
[TemplatePart(Name = "Layers", Type = typeof(Canvas))]
public class FlexChart : FlexChartBase, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
FlexChart()

Creates an instance of FlexChart.

Fields

Name Description
AxesOnTopProperty

Identifies the AxesOnTop dependency property.

BindingXProperty

Identifies the BindingX dependency property.

ChartTypeProperty

Identifies the ChartType dependency property.

OptionsProperty

Identifies the Options dependency property.

PlotMarginProperty

Identifies the PlotMargin dependency property.

RenderModeProperty

Identifies the RenderMode dependency property.

RotatedProperty

Identifies the Rotated dependency property.

SelectedSeriesProperty

Identifies the SelectedSeries dependency property.

StackingProperty

Identifies the Stacking dependency property.

Properties

Name Description
AnimationLoad

Gets the options for load animation.

AnimationSettings

Gets or sets the animation settings.

AnimationUpdate

Gets the options for update animation.

AxesOnTop

Gets or sets a value indicating whether the chart axes are drawing on the top of data.

AxisX

Gets or sets the main chart x-axis.

AxisY

Gets or sets the main chart y-axis.

Behaviors

Gets the behaviors collection.

BindingX

Gets or sets the name of the property that contains X values for the series.

CanShowTooltip
ChartType

Gets or sets the chart type.

DataLabel

Gets or sets the data label.

Layers

Gets the chart layers collection.

Options

Gets or sets the chart options.

PlotAreas

Gets the chart plot areas collection.

PlotMargin

Gets or sets the plot area margin.

PlotRect

Returns plot area rectangle (rectangle inside chart axes).

RenderMode

Gets or sets the render mode.

Rotated

Gets or sets a value indicating whether the chart is rotated.

SelectedSeries

Gets or sets the selected series.

Series

Gets the series collection.

Stacking

Gets or sets the chart stacking.

Methods

Name Description
DataToPoint(Point)

Converts a Point from data coordinates to control coordinates.

GetContent(HitTestInfo, string)

Gets the content by specified template.

HitTest(Point)

Gets a HitTestInfo object with information about the specified point.

HitTest(Point, bool)

Gets a HitTestInfo object with information about the specified point.

HitTestTooltip(Point)
Invalidate()

Invalidates the chart.

OnApplyTemplate()

Invoked when applying control template.

OnItemsSourceChanged(object)
OnMouseDown(MouseButtonEventArgs)
OptionsChanged(DependencyObject, object, object)

Called when options was changed.

PointToData(Point, bool)

Converts a Point from control coordinates to chart data coordinates.

Events

Name Description
AnimationTransform

Fires during animation transformation.

LabelRendered

Fires after rendering label.

LabelRendering

Fires before rendering label.

SeriesVisibilityChanged

Fires when chart series visibility was changed.