Skip to content

Commit 3489d40

Browse files
committed
Remove support for "donutSolid" pie charts
This option no longer exists, so the special case is no longer required in the plugin either.
1 parent 897b28d commit 3489d40

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/scripts/chartist-plugin-tooltip.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,7 @@ export function ChartistPluginTooltip<T extends BaseChart>(
9696
} else if (chart instanceof PieChart) {
9797
// Added support for donut graph
9898
if ((chart as any).options.donut) {
99-
// Added support for the solid donut graph
100-
tooltipSelector = (chart as any).options.donutSolid
101-
? 'ct-slice-donut-solid'
102-
: 'ct-slice-donut';
99+
tooltipSelector = 'ct-slice-donut';
103100
} else {
104101
tooltipSelector = 'ct-slice-pie';
105102
}

0 commit comments

Comments
 (0)