ToolTip allows you to display any information over a sunburst segment. It appears when mouse hovered over or touch any chart segment. By default, it displays the corresponding segment category name and its value

  • cshtml
  • <ej-sunburstchart id="SunburstChart" >
      <e-sunburstchart-tooltip visible="true"></e-sunburstchart-tooltip>


    Tooltip Template

    HTML elements can be displayed in the tooltip by using the Template property of the tooltip. The template property takes the value of the id attribute of the HTML element. You can use the #point.x# and #point.y# as place holders in the HTML element to display the x and y values of the corresponding point.

  • cshtml
  • <div id="Tooltip" style="display: none;">
            <div id="value" style="background-color:red;padding-top:3px;padding-right:3px">
                    <label id="efpercentage" style="color:white">
                       <br />&nbsp;&nbsp;Value:#point.y#
    <ej-sunburstchart id="SunburstChart" >
      <e-sunburstchart-tooltip visible="true" template="Tooltip"></e-sunburstchart-tooltip>


    Customize the appearance of tooltip

    The fill and border options are used to customize the background color and border of the tooltip respectively. The font option in the tooltip is used to customize the font of the tooltip text.

  • js
  • <ej-sunburstchart id="SunburstChart" >
      <e-sunburstchart-tooltip visible="true" template="Tooltip">
      <e-sunburstchart-font font-family="Arial" font-style="italic" size="12px">
      <e-sunburstchart-border color="black" width="2">