New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the Kendo UI Chart OHLC series.

Definition

Constructors

Initializes a new instance of the ChartOHLCSeries<TModel, TValue, TCategory> class.

C#
public ChartOHLCSeries()

Initializes a new instance of the ChartOHLCSeries<TModel, TValue, TCategory> class.

C#
public ChartOHLCSeries(Expression<Func<TModel, TValue>> openExpression, Expression<Func<TModel, TValue>> highExpression, Expression<Func<TModel, TValue>> lowExpression, Expression<Func<TModel, TValue>> closeExpression, Expression<Func<TModel, string>> colorExpression, Expression<Func<TModel, TCategory>> categoryExpression, Expression<Func<TModel, string>> noteTextExpression)
Parameters:openExpressionExpression<Func<TModel, TValue>>

The open expression.

highExpressionExpression<Func<TModel, TValue>>

The high expression.

lowExpressionExpression<Func<TModel, TValue>>

The low expression.

closeExpressionExpression<Func<TModel, TValue>>

The close expression.

colorExpressionExpression<Func<TModel, string>>

The color expression.

categoryExpressionExpression<Func<TModel, TCategory>>

The expression used to extract the point category from the chart model.

noteTextExpressionExpression<Func<TModel, string>>

The expression used to extract the point note text from the chart model.

Initializes a new instance of the ChartOHLCSeries<TModel, TValue, TCategory> class.

C#
public ChartOHLCSeries(IEnumerable data)
Parameters:dataIEnumerable

The data.

Properties

Aggregates function for date series.

C#
public ChartOHLCAggregates Aggregates { get; set; }

Implements: IChartOHLCSeries.Aggregates

Gets or sets the point border

C#
public ChartElementBorder Border { get; set; }

Implements: IChartOHLCSeries.Border

Category

Func<TModel, TCategory>

Gets a function which returns the category of the property to which the column is bound to.

C#
public Func<TModel, TCategory> Category { get; }

Gets the model data category member name.

C#
public string CategoryMember { get; set; }
Property Value:

The model data category member name.

Implements: IChartOHLCSeries.CategoryMember

Gets the model data close member name.

C#
public string CloseMember { get; set; }
Property Value:

The model data close member name.

Implements: IChartOHLCSeries.CloseMember

Gets the model data color member name.

C#
public string ColorMember { get; set; }
Property Value:

The model data color member name.

Implements: IChartOHLCSeries.ColorMember

The ohlc chart data configuration.

C#
public IEnumerable Data { get; set; }

Implements: IChartOHLCSeries.Data

The distance between category clusters.

C#
public double? Gap { get; set; }
Property Value:

A value of 1 means that there is a total of 1 point width between categories. The distance is distributed evenly on each side.

Implements: IChartOHLCSeries.Gap

Gets the model data high member name.

C#
public string HighMember { get; set; }
Property Value:

The model data high member name.

Implements: IChartOHLCSeries.HighMember

The ohlc chart line configuration.

C#
public ChartLine Line { get; set; }

Implements: IChartOHLCSeries.Line

Gets the model data low member name.

C#
public string LowMember { get; set; }
Property Value:

The model data low member name.

Implements: IChartOHLCSeries.LowMember

Gets the model data note text member name.

C#
public string NoteTextMember { get; set; }
Property Value:

The model data note text member name.

Implements: IChartOHLCSeries.NoteTextMember

Gets the model data open member name.

C#
public string OpenMember { get; set; }
Property Value:

The model data open member name.

Implements: IChartOHLCSeries.OpenMember

Space between points.

C#
public double? Spacing { get; set; }
Property Value:

Value of 1 means that the distance between points is equal to their width.

Implements: IChartOHLCSeries.Spacing

Gets the series type.

C#
public string Type { get; set; }

Implements: IChartOHLCSeries.Type

Methods

Creates a new ChartOHLCSeriesSerializer.

C#
public override IChartSerializer CreateSerializer()
Returns:

IChartSerializer

The ChartOHLCSeriesSerializer instance.

Overrides: ChartSeriesBase<TModel>.CreateSerializer()

Implements: IChartSeries.CreateSerializer()