Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get containerComponent() {
const mixins = [
voronoiContainerMixin,
zoomContainerMixin
// cursorContainerMixin -- TODO: breaks eventHandlers used for moment charts
];
const Container = combineContainerMixins(mixins, VictoryContainer);
const getTooltipValue = ({ datum }) => {
const tooltipValue = datum.tooltipValue || datum.y;
const units = datum.units || "";
return `${datum.name}: ${tooltipValue} ${units}`;
};
return (
}
labels={getTooltipValue}
labelComponent={}