[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ChartAxisBuilder-1

ChartAxisBuilder<T> Class

Defines a builder to configurate ChartAxis<T>.

Inheritance
HideObjectMembers
ChartAxisBuilder<T>
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public class ChartAxisBuilder<T> : BaseBuilder<ChartAxis<T>, ChartAxisBuilder<T>>
Type Parameters
Name Description
T

Constructors

Name Description
ChartAxisBuilder(ChartAxis<T>)

Creates one ChartAxisBuilder<T> instance to configurate obj.

Methods

Name Description
AxisLine(bool)

Configurates AxisLine. Sets a value indicating whether the axis line is visible.

Bind(IEnumerable<T>)

Bind the axis with a special data source to customize the labels.

Bind(string)

Bind the axis with a special data source to customize the labels.

Bind(string, IEnumerable<T>)

Bind the axis with a special data source to customize the labels.

Bind(string, string)

Bind the axis with a special data source to customize the labels.

BindODataSource(Action<ODataCollectionViewServiceBuilder<T>>)

Configurates ItemsSource. Sets ItemsSource settings.

BindODataVirtualSource(Action<ODataVirtualCollectionViewServiceBuilder<T>>)

Configurates ItemsSource. Sets ItemsSource settings.

Binding(string)

Configurates Binding. Sets the comma-separated property names for property "ItemsSource".

Format(string)

Configurates Format. Sets the format string used for axis labels

GroupsOptions(Action<AxisGroupsOptionsBuilder>)

Sets the label groups settings for the axis.

ItemFormatter(string)

Configurates ItemFormatter. Sets the itemFormatter client-side function name for axis labels.

LabelAlign(string)

Configurates LabelAlign. Sets the label alignment.

LabelAngle(int?)

Configurates LabelAngle. Sets the rotation angle of axis labels. The angle is measured in degrees with valid values ranging from -90 to 90.

LabelMax(bool)

Configurates LabelMax. Sets a value that determines whether the maximum axis value should be always labeled.

LabelMin(bool)

Configurates LabelMin. Sets a value that determines whether the minimum axis value should be always labeled.

LabelPadding(int)

Configurates LabelPadding. Sets the label padding.

Labels(bool)

Configurates Labels. Sets a value indicating whether axis labels are visible.

LogBase(double?)

Configurates LogBase. Sets the logarithmic base of the axis.

MajorGrid(bool)

Configurates MajorGrid. Sets a value indicating whether the axis includes grid lines.

MajorTickMarks(AxisTickMark)

Sets the location of axis major tick marks.

MajorUnit(double)

Configurates MajorUnit. Sets the number of units between axis labels.If the axis contains date values, then the units are expressed in days.

Max(DateTime)

Sets the Max property.

Max(double?)

Sets the Max property.

Min(DateTime)

Sets the Min property.

Min(double?)

Sets the Min property.

MinorGrid(bool)

Configurates MinorGrid. Sets a value indicating whether the axis includes minor grid lines.

MinorTickMarks(AxisTickMark)

Sets the location of axis minor tick marks.

MinorUnit(double)

Configurates MinorUnit. Sets the number of units between minor axis ticks. If the axis contains date values, then the units are expressed in days.

Name(string)

Configurates Name. Sets the axis name.

OnClientRangeChanged(string)

Configurates the OnClientRangeChanged client event. Occurs when axis range changed.

Origin(double?)

Configurates Origin. Sets the value at which the axis crosses perpendicular axis.

OverlappingLabels(AxisOverlappingLabels)

Sets the overlapping method for axis labels.

PlotAreaIndex(int?)

Configurates PlotAreaIndex. Sets the plot area for the axis.

Position(Position)

Sets the enumerated axis position.

Reversed(bool)

Configurates Reversed. Sets a value indicating whether the axis is reversed (top to bottom or right to left).

Title(string)

Configurates Title. Sets the title text shown next to the axis.