ChartAxisTicksBuilder
Methods
Size(System.Int32)
Sets the ticks size
Parameters
size - System.Int32
The ticks size.
Example
@(Html.Kendo().Chart()
.Name("chart")
.ValueAxis(axis => axis.MajorTicks(ticks => ticks.Size(2)))
)
Visible(System.Boolean)
Sets the ticks visibility
Parameters
visible - System.Boolean
The ticks visibility.
Example
@(Html.Kendo().Chart()
.Name("chart")
.ValueAxis(axis => axis.MajorTicks(ticks => ticks.Visible(false)))
)
Skip(System.Double)
Sets the line skip
Parameters
skip - System.Double
The line skip.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.CategoryAxis(axis => axis.MajorTicks(lines => lines.Skip(2)))
)
Step(System.Double)
Sets the line step
Parameters
step - System.Double
The line step.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.CategoryAxis(axis => axis.MajorTicks(lines => lines.Step(2)))
)
Color(System.String)
Sets the line color
Parameters
color - System.String
The line color.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.CategoryAxis(axis => axis.MajorTicks(lines => lines.Color("red")))
)