recharts
Version:
React charts
8 lines • 385 B
JavaScript
/**
* 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;
}