ChartHeatMapSeriesBuilder
Properties
Series - IHeatMapSeries
The funnel chart data configuration.
Methods
Name(System.String)
Sets the name of the series.
Parameters
text - System.String
The name of the series
Example
@(Html.Kendo().Chart()
.Name("chart")
.Series(series => { series.HeatMap(new object[] { new { Week = 1, Day = "Mon", Value = 8 } });}).Name("seriesName"))
)
Opacity(System.Double)
Sets the opacity of the series.
Parameters
opacity - System.Double
The opacity of the series
Example
@(Html.Kendo().Chart()
.Name("chart")
.Series(series => { series.HeatMap(new object[] { new { Week = 1, Day = "Mon", Value = 8 } });}).Name("seriesName"))
)
Tooltip(System.Action)
Configure the series tooltip.
Parameters
configurator - System.Action<ChartTooltipBuilder>
The configurator settings for the series tooltip
Example
@(Html.Kendo().Chart()
.Name("chart")
.Series(series => { series.HeatMap(new object[] { new { Week = 1, Day = "Mon", Value = 8 } });}).Tooltip(t => t.Color("green"))
)
Tooltip(System.Boolean)
Sets the tooltip visibility.
Parameters
visible - System.Boolean
A value indicating if the tooltip should be displayed.
Example
@(Html.Kendo().Chart()
.Name("chart")
.Series(series => { series.HeatMap(new object[] { new { Week = 1, Day = "Mon", Value = 8 } }); }).Tooltip(true)
)
Field(System.String)
Sets the yField.
Parameters
value - System.String
The field that will be set as an Field.
Example
@(Html.Kendo().Chart()
.Name("chart")
.Series(series => { series.HeatMap(new object[] { new { Week = 1, Day = "Mon", Value = 8 } }).Field("Field"); })
)
Markers(System.Action)
Configures the heatmap chart markers.
Parameters
configurator - System.Action<ChartMarkersBuilder>
The configuration action.
Example
@(Html.Kendo().Chart()
.Name("chart")
.Series(series => { series.HeatMap(new object[] { new { Week = 1, Day = "Mon", Value = 8 } }).Markers(m => m.Background("green")); })
)
Labels(System.Action)
Configures the heatmap chart labels.
Parameters
configurator - System.Action<ChartHeatMapLabelsBuilder>
The configuration action.
Example
@(Html.Kendo().Chart()
.Name("chart")
.Series(series => { series.HeatMap(new object[] { new { Week = 1, Day = "Mon", Value = 8 } }).Labels(l => l.Color("green")); })
)
Color(System.String)
Sets the color.
Parameters
value - System.String
Example
@(Html.Kendo().Chart()
.Name("chart")
.Series(series => { series.HeatMap(new object[] { new { Week = 1, Day = "Mon", Value = 8 } }).Color("green"); })
)
ColorHandler(System.String)
Sets the color handler.
Parameters
value - System.String
The name of a function handler for the color of the series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.Series(series => { series.HeatMap(new object[] { new { Week = 1, Day = "Mon", Value = 8 } }).ColorHandler("colorHandler"); })
)
PatternField(System.String)
Sets the data item field which contains the series pattern configuration for individual chart segments.
Parameters
value - System.String
The data item field which contains the series pattern configuration for individual chart segments
Example
@(Html.Kendo().Chart(Model)
.Name("Chart")
.Series(series => { series.HeatMap(new object[] { new { Week = 1, Day = "Mon", Value = 8 } });}).PatternField("Pattern"))
)
Pattern(System.Action)
The chart series pattern configuration options.
Parameters
configurator - System.Action<ChartSeriesPatternSettingsBuilder>
The configurator for the Pattern setting.