[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.ChartAxisTagHelper

ChartAxisTagHelper Class

ITagHelper implementation for ChartAxis<T>.

Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
[HtmlTargetElement("c1-flex-chart-axis")]
[RestrictChildren("c1-items-source", new string[] { "c1-odata-source", "c1-odata-virtual-source", "c1-axis-groups-options" })]
public class ChartAxisTagHelper : SettingTagHelper<ChartAxis<object>>, ITagHelper, ITagHelperComponent

Constructors

Name Description
ChartAxisTagHelper()

Properties

Name Description
AxisLine

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

Binding

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

CollectionName

Gets the collection name.

Format

Configurates Format. Sets the format string used for axis labels

GroupsOptions

Configurates GroupsOptions. Sets label groups settings for the axis

ItemFormatter

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

LabelAlign

Configurates LabelAlign. Sets the label alignment.

LabelAngle

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

LabelMax

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

LabelMin

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

LabelPadding

Configurates LabelPadding. Sets the label padding.

Labels

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

LogBase

Configurates LogBase. Sets the logarithmic base of the axis.

MajorGrid

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

MajorTickMarks

Configurates MajorTickMarks. Sets the location of axis tick marks.

MajorUnit

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

Max

Configurates Max. Sets the maximum value shown on the axis. If not set, the maximum is calculated automatically.

Min

Configurates Min. Sets the minimum value shown on the axis. If not set, the minimum is calculated automatically.

MinorGrid

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

MinorTickMarks

Configurates MinorTickMarks. Sets the location of minor axis tick marks.

MinorUnit

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

Configurates Name. Sets the axis name.

Origin

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

OverlappingLabels

Configurates OverlappingLabels. Sets a value indicating how to handle overlapped axis labels.

PlotAreaIndex

Configurates PlotAreaIndex. Sets the plot area for the axis.

Position

Configurates Position. Sets the enumerated axis position.

RangeChanged

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

Reversed

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

Title

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

Methods

Name Description
ProcessAttributes(TagHelperContext, object)

Processes all attributes of current taghelper.