ChartValueAxisFactory

Methods

Numeric()

Defines a numeric value axis.

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("Chart")
                       .ValueAxis(x=>x.Numeric().Title("Content"))
            )
             

Numeric(System.String)

Defines a numeric value axis.

Parameters

name - System.String

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("Chart")
                       .ValueAxis(x=>x.Numeric("Name").Title("Content"))
            )
             

Logarithmic()

Defines a logarithmic value axis.

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("Chart")
                       .ValueAxis(x=>x.Logarithmic().Title("Content"))
            )
             

Logarithmic(System.String)

Defines a logarithmic value axis.

Parameters

name - System.String

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("Chart")
                       .ValueAxis(x=>x.Logarithmic("Name").Title("Content"))
            )
             

Date()

Defines a date value axis.

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("Chart")
                       .ValueAxis(x=>x.Date().Title("Content"))
            )
             

Date(System.String)

Defines a date value axis.

Parameters

name - System.String

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("Chart")
                       .ValueAxis(x=>x.Date("Name").Title("Content"))
            )
             

Polar()

Defines a polar value axis.

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("Chart")
                       .ValueAxis(x=>x.Polar().Title("Content"))
            )
             

Polar(System.String)

Defines a polar value axis.

Parameters

name - System.String

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("Chart")
                       .ValueAxis(x=>x.Polar("Name").Title("Content"))
            )
             

Categories(System.Object[])

The category names. Applicable for charts with X and Y category axes (heatmap).

Parameters

categories - System.Object[]

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("Chart")
                       .ValueAxis(x=>x.Categories(new string[] { "numeric", "polar" }))
            )