Scoped selector for the wedges of a pie or donut chart.
Frappe draws the two with different components — a pie wedge is a filled
path.pie-path in g.pie-slices, a donut wedge a stroked path.donut-path
in g.donut-slices — so the selector follows the chart type. Both are
appended in slice order, which is the order the adapter emits its points in.
Parameters
containerId: string
The chart container's id, for scoping.
chartType: "pie"|"donut"
Which of the two aggregation charts was rendered.
Returns string
The selector matching one element per slice, in slice order.
Scoped selector for the wedges of a pie or donut chart.
Frappe draws the two with different components — a pie wedge is a filled
path.pie-pathing.pie-slices, a donut wedge a strokedpath.donut-pathing.donut-slices— so the selector follows the chart type. Both are appended in slice order, which is the order the adapter emits its points in.