[]
        
(Showing Draft Content)

C1.Blazor.Chart.FlexChart

FlexChart Class

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

Namespace: C1.Blazor.Chart
Assembly: C1.Blazor.Chart.dll
Syntax
public class FlexChart : FlexChartBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, ISupportInitialize

Constructors

Name Description
FlexChart()

Creates an instance of FlexChart control.

Properties

Name Description
AnimationDuration

Gets or sets the animation duration in milliseconds. Default value is 400ms.

AnimationSettings

Gets or sets the animation settings.

AxesOnTop

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

AxisCollection

Gets or sets the axis collection.

AxisX

Gets the main chart x-axis.

AxisY

Gets the main chart y-axis.

Binding

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

BindingX

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

ChartOptions

Gets various chart options.

ChartType

Gets or sets the chart type.

DataLabel

Gets the chart data label.

ItemsSource

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

Label

Gets or sets the data label.

LabelRendered

Fires after rendering label.

LabelRendering

Fires before rendering label.

LegendToggle

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

MarkerCollection

Gets or sets the plot area collection.

Markers

Gets the chart marker collection.

Options

Gets or sets the chart options.

PlotAreaCollection

Gets or sets the plot area collection.

PlotAreas

Gets the chart plot areas collection.

PlotMargin

Gets or sets the plot area margin.

PlotRect

Returns plot area rectangle (rectangle inside chart axes).

RangeSelector

Gets or sets the chart's range selector.

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.

SeriesCollection

Gets or sets the series collection.

SeriesVisibilityChanged

Fires when chart series visibility was changed.

Stacking

Gets or sets the data stacking.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)
DataToPoint(PointF)

Converts a Point from data coordinates to control coordinates.

GetContent(HitTestInfo, string)

Gets the content based on template.

GetMeasureElements()
HitTest(C1Point)

Gets a HitTestInfo object with information about the specified point.

HitTest(C1Point, MeasureOption, int)

Gets a HitTestInfo object with information about the specified point.

OnAfterRenderAsync(bool)

Invoked after async rendering.

OnClick(_Point)

Called when user clicks on the control.

ParseMeasureElements(JsonElement)
PointToData(PointF, bool)

Converts a Point from control coordinates to chart data coordinates.

Rebind()

Performs data binding.

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

Renders the chart.

Series_CollectionChanged(object, NotifyCollectionChangedEventArgs)

CollectionChanged event handler.