feat(chart): have legend #3724
feat(chart): have legend #3724
Quality Gate failed
Failed conditions
B Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 34 in src/components/chart/legend.tsx
sonarqubecloud / SonarCloud Code Analysis
Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element.
See more on https://sonarcloud.io/project/issues?id=Lundalogik_lime-elements&issues=AZrAQMjNrAnsyRD75eO3&open=AZrAQMjNrAnsyRD75eO3&pullRequest=3724
Check warning on line 16 in src/components/chart/legend.tsx
sonarqubecloud / SonarCloud Code Analysis
Member 'handleLegendClick' is never reassigned; mark it as `readonly`.
See more on https://sonarcloud.io/project/issues?id=Lundalogik_lime-elements&issues=AZrAQMjNrAnsyRD75eO2&open=AZrAQMjNrAnsyRD75eO2&pullRequest=3724
Check warning on line 34 in src/components/chart/legend.tsx
sonarqubecloud / SonarCloud Code Analysis
Visible, non-interactive elements with click handlers must have at least one keyboard listener.
See more on https://sonarcloud.io/project/issues?id=Lundalogik_lime-elements&issues=AZrAQMjNrAnsyRD75eO4&open=AZrAQMjNrAnsyRD75eO4&pullRequest=3724