<kendo:chart-seriesItem-tooltip>

The chart series tooltip configuration options.

Example

<kendo:chart-seriesItem>
    <kendo:chart-seriesItem-tooltip></kendo:chart-seriesItem-tooltip>
</kendo:chart-seriesItem>

Configuration Attributes

background java.lang.String

The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb.

Example

<kendo:chart-seriesItem-tooltip background="background">
</kendo:chart-seriesItem-tooltip>

color java.lang.String

The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb.

Example

<kendo:chart-seriesItem-tooltip color="color">
</kendo:chart-seriesItem-tooltip>

font java.lang.String

The tooltip font.

Example

<kendo:chart-seriesItem-tooltip font="font">
</kendo:chart-seriesItem-tooltip>

format java.lang.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.

Example

<kendo:chart-seriesItem-tooltip format="format">
</kendo:chart-seriesItem-tooltip>

padding float

The padding of the tooltip. A numeric value will set all paddings. Further configuration is available via kendo:chart-seriesItem-tooltip-padding.

Example

<kendo:chart-seriesItem-tooltip padding="padding">
</kendo:chart-seriesItem-tooltip>

template java.lang.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..

Example

<kendo:chart-seriesItem-tooltip template="template">
</kendo:chart-seriesItem-tooltip>

visible boolean

If set to true the chart will display the series tooltip. By default the series tooltip is not displayed.

Example

<kendo:chart-seriesItem-tooltip visible="visible">
</kendo:chart-seriesItem-tooltip>

Configuration JSP Tags

kendo:chart-seriesItem-tooltip-border

The border configuration options.

More documentation is available at kendo:chart-seriesItem-tooltip-border.

Example

<kendo:chart-seriesItem-tooltip>
    <kendo:chart-seriesItem-tooltip-border></kendo:chart-seriesItem-tooltip-border>
</kendo:chart-seriesItem-tooltip>

kendo:chart-seriesItem-tooltip-padding

The padding of the tooltip. A numeric value will set all paddings.

More documentation is available at kendo:chart-seriesItem-tooltip-padding.

Example

<kendo:chart-seriesItem-tooltip>
    <kendo:chart-seriesItem-tooltip-padding></kendo:chart-seriesItem-tooltip-padding>
</kendo:chart-seriesItem-tooltip>

Event Attributes

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..

Example

<kendo:chart-seriesItem-tooltip template="handle_template">
</kendo:chart-seriesItem-tooltip>
<script>
    function handle_template(e) {
        // Code to handle the template event.
    }
</script>

Event Tags

kendo:chart-seriesItem-tooltip-template

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..

Example

<kendo:chart-seriesItem-tooltip>
    <kendo:chart-seriesItem-tooltip-template>
        <script>
            function(e) {
                // Code to handle the template event.
            }
        </script>
    </kendo:chart-seriesItem-tooltip-template>
</kendo:chart-seriesItem-tooltip>
In this article
Not finding the help you need?