ChartSeriesTooltipSettingsTagHelper
Example
Razor
<tooltip>
<chart-series-tooltip-border />
<chart-series-tooltip-padding />
</tooltip>
ChildTags
Tag Name | Details |
---|---|
chart-series-tooltip-border | ChartSeriesTooltipBorderSettingsTagHelper |
chart-series-tooltip-padding | ChartSeriesTooltipPaddingSettingsTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
background | String | The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb. |
color | String | The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb. |
font | String | The tooltip font. |
format | String | The format of the labels. Uses kendo.format.Format placeholders: Area, bar, column, line, pie, radarArea, radarColumn and radarLine{0} - value; Bubble{0} - x value{1} - y value{2} - size value{3} - category name; Bullet{0} - value{1} - target value; Scatter, scatterLine{0} - x value{1} - y value; PolarArea, polarLine and polarScatter{0} - x value (degrees){1} - y value; Candlestick and OHLC{0} - open value{1} - high value{2} - low value{3} - close value{4} - category name or RangeArea, rangeBar, rangeColumn{0} - from value{1} - to value. |
template | String | The template which renders the tooltip.The fields which can be used in the template are: category - the category name; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series; value - the point value (either a number or an object); runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series.. |
template-handler | String | The template which renders the tooltip.The fields which can be used in the template are: category - the category name; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series; value - the point value (either a number or an object); runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series.. |
template-id | String | The template which renders the tooltip.The fields which can be used in the template are: category - the category name; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series; value - the point value (either a number or an object); runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series.. |
template-view | IHtmlContent | The template which renders the tooltip.The fields which can be used in the template are: category - the category name; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series; value - the point value (either a number or an object); runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series.. |
visible | Boolean | If set to true the chart will display the series tooltip. By default the series tooltip is not displayed. |