[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.FlexChartCoreBuilder-3

FlexChartCoreBuilder<T, TControl, TBuilder> Class

Defines a builder to configurate FlexChartCore<T>.

Inheritance
HideObjectMembers
BaseBuilder<TControl, TBuilder>
ComponentBuilder<TControl, TBuilder>
ControlBuilder<TControl, TBuilder>
ItemsBoundControlBuilder<T, TControl, TBuilder>
FlexChartBaseBuilder<T, TControl, TBuilder>
FlexChartCoreBuilder<T, TControl, TBuilder>
Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public abstract class FlexChartCoreBuilder<T, TControl, TBuilder> : FlexChartBaseBuilder<T, TControl, TBuilder>, IHtmlString where TControl : FlexChartCore<T> where TBuilder : FlexChartCoreBuilder<T, TControl, TBuilder>
Type Parameters
Name Description
T
TControl
TBuilder

Constructors

Name Description
FlexChartCoreBuilder(TControl)

Creates one FlexChartCoreBuilder<T, TControl, TBuilder> instance to configurate component.

Methods

Name Description
AxisX(Position)

Sets x-axis's position.

AxisX(Action<ChartAxisBuilder<T>>)

Configurates AxisX. Sets the main X axis.

AxisY(Position)

Sets y-axis's position.

AxisY(Action<ChartAxisBuilder<T>>)

Configurates AxisY. Sets the main Y axis.

Bind(string, IEnumerable<T>)

Bind data with specified x data field name and a data source.

Bind(string, string)

Bind data with specified x data field name and the url of the action which is used for reading data.

Bind(string, string, IEnumerable<T>)

Bind data with specified x data field name and value property of the data source.

Bind(string, string, string)

Bind data with specified x data field name, value property and the url of the action which is used for reading data.

Binding(string)

Configurates Binding. Sets the name of the property that contains the Y values.

BindingX(string)

Configurates BindingX. Sets the name of the property that contains the X data values.

DataLabel(Action<DataLabelBuilder>)

Configurates DataLabel. Get or set the style of point data label

InterpolateNulls(bool)

Configurates InterpolateNulls. Sets whether to interpolate null values in the data. If true, the chart interpolates the value of any missing data based on neighboring points. If false, it leaves a break in lines and areas at the points with null values.

LegendToggle(bool)

Configurates LegendToggle. Sets a value indicating whether clicking legend items toggles the series visibility in the chart.

OnClientSeriesVisibilityChanged(string)

Configurates the OnClientSeriesVisibilityChanged client event. Occurs when the series visibility changes

RenderEngine(RenderEngine)

Configurates RenderEngine. Sets the chart render engine.

SelectionIndex(int?)

Configurates SelectionIndex. Sets the index of selected chart series.

SymbolSize(float)

Configurates SymbolSize. Sets the size of the symbols used for all Series objects. This property may be overridden by the symbolSize property on each series. (see Series class)

Extension Methods