UNPKG

recharts

Version:
8 lines 385 B
/** * Returns identifier for stack series which is one individual graphical item in the stack. * @param graphicalItem - The graphical item representing the series in the stack. * @return The identifier for the series in the stack */ export function getStackSeriesIdentifier(graphicalItem) { return graphicalItem === null || graphicalItem === void 0 ? void 0 : graphicalItem.id; }