Defines the Kendo UI Chart OHLC series.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TModel
TValue
TCategory
Syntax:
public class ChartOHLCSeries<TModel, TValue, TCategory> : ChartSeriesBase<TModel>, IChartOHLCSeries, IChartSeries where TModel : class
Inheritance: objectChartSeriesBase<TModel>ChartOHLCSeries<TModel, TValue, TCategory>
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChartOHLCSeries<TModel, TValue, TCategory> class.
public ChartOHLCSeries()
Initializes a new instance of the ChartOHLCSeries<TModel, TValue, TCategory> class.
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)
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.
Properties
Aggregates function for date series.
public ChartOHLCAggregates Aggregates { get; set; }
Implements:
Gets or sets the point border
public ChartElementBorder Border { get; set; }
Implements:
Gets a function which returns the category of the property to which the column is bound to.
public Func<TModel, TCategory> Category { get; }
Gets the model data category member name.
public string CategoryMember { get; set; }
The model data category member name.
Implements:
Gets the model data close member name.
public string CloseMember { get; set; }
The model data close member name.
Implements:
Gets the model data color member name.
public string ColorMember { get; set; }
The model data color member name.
Implements:
The ohlc chart data configuration.
public IEnumerable Data { get; set; }
Implements:
The distance between category clusters.
public double? Gap { get; set; }
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:
Gets the model data high member name.
public string HighMember { get; set; }
The model data high member name.
Implements:
Gets the model data low member name.
public string LowMember { get; set; }
The model data low member name.
Implements:
Gets the model data note text member name.
public string NoteTextMember { get; set; }
The model data note text member name.
Implements:
Gets the model data open member name.
public string OpenMember { get; set; }
The model data open member name.
Implements:
Space between points.
public double? Spacing { get; set; }
Value of 1 means that the distance between points is equal to their width.
Implements:
Methods
Creates a new ChartOHLCSeriesSerializer.
public override IChartSerializer CreateSerializer()
The ChartOHLCSeriesSerializer instance.
Overrides:
Implements: