Open htimran opened 5 years ago
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": [] }] },
];
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": [] }] },