[]
        
(Showing Draft Content)

C1.Win.Chart.FlexChart

FlexChart Class

Represents a charting control that provides a powerful and flexible way to visualize data.

Implements
IMetricProvider
IFontConverter
IChart
IChartBase
IStyleProvider
IPalette
IBrushConverter
ISupportCustomRenderEngine
IHitTester
IAnimatedChart
Namespace: C1.Win.Chart
Assembly: C1.Win.FlexChart.8.dll
Syntax
[ToolboxBitmap(typeof(FlexChart), "FlexChart.png")]
[C1Description("FlexChart", "Represents a charting control that provides a powerful and flexible way to visualize data.")]
public class FlexChart : FlexChartBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IMetricProvider, IFontConverter, IChart, IChartBase, IStyleProvider, IPalette, IBrushConverter, ISupportInitialize, ISupportCustomRenderEngine, IHitTester, IAnimatedChart

Constructors

Name Description
FlexChart()

Creates an instance of FlexChart control.

Properties

Name Description
AnimationLoad

Gets the load animation options.

AnimationSettings

Gets or sets the animation settings.

AnimationUpdate

Gets the update animation options.

AxesOnTop

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

AxisX

Gets the main chart x-axis.

AxisY

Gets the main chart y-axis.

Behaviors

Gets the behaviors collection.

Binding

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

BindingMode

Gets or sets the binding mode.

BindingX

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

CanShowTooltip

Specifies whether to show the tooltip.

ChartType

Gets or sets the chart type.

DataLabel

Gets the chart data label.

DataMember

Gets or sets the name of the DataMember, if any, for the DataSource.

DataSource

Gets or sets the collection of objects that contains the series data.

LegendToggle

Gets or sets a value indicating whether clicking legend items toggles the series visibility in the chart.

Options

Gets various 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 to flip the axes so that X is vertical and Y is horizontal.

SelectedSeries

Gets or set the selected series.

Series

Gets the list of the series.

Stacking

Gets or sets the data stacking.

Methods

Name Description
BeginInit()
DataToPoint(PointF)

Converts a Point from data coordinates to control coordinates.

Dispose(bool)

Clean up any resources being used.

DrawChart(Graphics, Point, Size)

Draws chart on the specified graphics at the specified point with specified size.

EndInit()
GetContent(HitTestInfo, string)

Gets the content depending on mouse position C1.Chart.HitTestInfo.

HitTest(Point)

Gets a HitTestInfo object with information about the specified point.

HitTest(Point, MeasureOption, int)

Gets a HitTestInfo object with information about the specified point.

HitTest(Point, bool)

Gets a HitTestInfo object with information about the specified point.

OnBackgroundImageLayoutChanged(EventArgs)
OnControlAdded(ControlEventArgs)
OnControlRemoved(ControlEventArgs)
OnMouseClick(MouseEventArgs)

Raises the MouseClick event.

OnPaint(PaintEventArgs)

Raises Paint event.

OnPaintBackground(PaintEventArgs)

Paints the background of the control.

OnPaintChart(PaintEventArgs)

Paints the chart.

OnSizeChanged(EventArgs)

Raises the SizeChanged event.

PointToData(PointF)

Converts a Point from control coordinates to chart data coordinates.

Rebind()

Performs data binding.

Render(IRenderEngine, int, int)

Renders the chart.

Render(IRenderEngine, int, int, int, int)

Renders the chart.

Series_CollectionChanged(object, NotifyCollectionChangedEventArgs)

CollectionChanged event handler.

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.