Skip to content

why zero valued point in sunburst chart got selected? #767

@htimran

Description

@htimran

the issue is, I have four children in my chart and mostly the case one or two children value will be zero. so when I click on that point, the whole chart disappears.

$scope.OeeOptions = {
chart: {
type: 'sunburstChart',
height: 450,
width: "90%",
mode: "size",
duration: 250,
showLabels: true,
labelThreshold: 0.2,
labelFormat: function (d, t) {
return d.name;
}
}
var data = [
{
"name": "Root",
"color": statusColor,
"children": [
{
"name": "analysis",
"chartID": indexchart
},
{
"name": "Closure",
"chartID": indexchart,
"children": []
},
{
"name": "Quality",
"chartID": indexchart,
"children": []
},
{
"name": "Performance",
"chartID": indexchart,
"children": []
}]
},

            ];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions