[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.FlexChartBaseBuilder-3

FlexChartBaseBuilder<T, TControl, TBuilder> Class

Defines a builder to configurate FlexChartBase<T>.

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

Constructors

Name Description
FlexChartBaseBuilder(TControl)

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

Methods

Name Description

Configurates Footer. Sets the text displayed in the chart footer.

FooterStyle(Action<TitleStyleBuilder>)

Configurates FooterStyle. Get or set the style of FooterStyle.

Header(string)

Configurates Header. Sets the text displayed in the chart header.

HeaderStyle(Action<TitleStyleBuilder>)

Configurates HeaderStyle. Get or set the style of Header element.

ItemFormatter(string)

Configurates ItemFormatter. Sets the name of the item formatter function that allows you to customize the appearance of data points.

Legend(LegendOrientation)

Configurates Legend. Sets legend's orientation.

Legend(Position)

Configurates Legend. Sets legend's position.

Legend(Action<ChartLegendBuilder>)

Configurates Legend. Sets the chart legend.

Legend(string)

Configurates Legend. Sets legend's maxSize.

OnClientRendered(string)

Configurates the OnClientRendered client event. Occurs after the chart finishes rendering.

OnClientRendering(string)

Configurates the OnClientRendering client event. Occurs before the chart starts rendering data.

OnClientSelectionChanged(string)

Configurates the OnClientSelectionChanged client event. Occurs after the selection changes, whether programmatically or when the user clicks the chart.

Palette(IEnumerable<Color>)

Configurates Palette. Sets an array of default colors to be used in a treemap.

Palette(params Color[])

Configurates Palette. Sets an array of default colors to be used in a treemap.

PlotMargin(string)

Configurates PlotMargin. Sets the plot margin in pixels.

SelectionMode(SelectionMode)

Configurates SelectionMode. Sets an enumerated value indicating whether or what is selected when the user clicks the chart.

Tooltip(Action<ChartTooltipBuilder>)

Configurates Tooltip. Sets the chart's tooltip.

Extension Methods