Skip to content

Commit

Permalink
Merge pull request #177 from redbearsam/fix/sunburst-tooltip
Browse files Browse the repository at this point in the history
Fix tooltip for sunburst with no color
  • Loading branch information
Ro4052 authored Apr 18, 2019
2 parents bd39ee2 + a068b57 commit f5c8639
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function getDataValues(data, settings) {
return [
{
name: settings.mainValues[0].name,
value: toValue(settings.mainValues[0].type, data.colorValue || data.mainValue - data.baseValue || data.mainValue)
value: toValue(settings.mainValues[0].type, data.colorValue || data.mainValue - data.baseValue || data.mainValue || data.mainValues)
}
];
}

0 comments on commit f5c8639

Please sign in to comment.