Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
annotationId={getAnnotationId('minor')}
domainType={AnnotationDomainTypes.XDomain}
dataValues={severities.minor}
style={getAnomalyStyle(ANOMALY_THRESHOLD.MINOR)}
hideTooltips={true}
/>
);
};
{annotations.map(({ id, data, icon, color }) => {
const dataValues = generateAnnotationData(data, tooltipFormatter);
const style = { line: { stroke: color } };
return (
}
hideLinesTooltips={true}
style={style}
/>
);
})}
annotationId={getAnnotationId('minor')}
domainType={AnnotationDomainTypes.XDomain}
dataValues={severities.minor}
style={getAnomalyStyle(ANOMALY_THRESHOLD.MINOR)}
hideTooltips={true}
/>
);
};