Methods
redraw()
redraw
the entire sunburst. You can call this method whenever you update, add or remove points from the data source or whenever you want to refresh the UI.
@(Html.EJ().SunburstChart("SunburstChart1"))
var sun = $("#SunburstChart1").data("ejSunburstChart");
sun.redraw();
destroy ()
destroy
the sunburst
@(Html.EJ().SunburstChart("SunburstChart1"))
var sun = $("#SunburstChart1").data("ejSunburstChart");
sun.destroy();
Events
Load
Fires before loading, you can use Load
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.Load("load")
)
function load(){
// Do Something
}
PreRender
Fires before rendering sunburst, you can use PreRender
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.PreRender("prerender")
)
function prerender(){
// Do Something
}
Loaded
Fires after rendering sunburst, you can use Loaded
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.Loaded("loaded")
)
function loaded(){
// Do Something
}
DataLabelRendering
Fires before rendering the data label, you can use DataLabelRendering
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.DataLabelRendering("dataLabelRendering")
)
function dataLabelRendering(){
// Do Something
}
SegmentRendering
Fires before rendering each segment, you can use SegmentRendering
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.SegmentRendering("segmentRendering")
)
function segmentRendering(){
// Do Something
}
TitleRendering
Fires before rendering sunburst title, you can use TitleRendering
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.TitleRendering("titleRendering")
)
function titleRendering(){
// Do Something
}
TooltipInitialize
Fires during initialization of tooltip, you can use TooltipInitialize
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.TooltipInitialize("tooltipInitialize")
)
function tooltipInitialize(){
// Do Something
}
PointRegionClick
Fires after clicking the point in sunburst, you can use PointRegionClick
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.PointRegionClick("pointRegionClick")
)
function pointRegionClick(){
// Do Something
}
PointRegionMouseMove
Fires while moving the mouse over sunburst points, you can use PointRegionMouseMove
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.PointRegionMouseMove("pointRegionMouseMove")
)
function pointRegionMouseMove(){
// Do Something
}
DrillDownClick
Fires when clicking the point to perform drilldown, you can use DrillDownClick
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.DrillDownClick("drillDownClick")
)
function drillDownClick(){
// Do Something
}
DrillDownBack
Fires when resetting drilldown points, you can use DrillDownBack
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.DrillDownBack("drillDownBack")
)
function drillDownBack(){
// Do Something
}
DrillDownReset
Fires after resetting the sunburst points, you can use DrillDownReset
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.DrillDownReset("drillDownReset")
)
function drillDownReset(){
// Do Something
}
LegendItemRendering
Fires before rendering the legend item, you can use LegendItemRendering
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.LegendItemRendering("legendItemRendering")
)
function legendItemRendering(){
// Do Something
}
LegendItemClick
Fires when clicking the legend item, you can use LegendItemClick
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.LegendItemClick("legendItemClick")
)
function legendItemClick(){
// Do Something
}
Click
Fires when clicking the sunburst points, you can use Click
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.Click("click")
)
function click(){
// Do Something
}
DoubleClick
Fires when double clicking the sunburst points, you can use DoubleClick
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.DoubleClick("doubleClick")
)
function doubleClick(){
// Do Something
}
RightClick
Fires when right clicking the sunburst points, you can use RightClick
event.
@(Html.EJ().SunburstChart("SunburstChart1")
.RightClick("rightClick")
)
function rightClick(){
// Do Something
}