Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate series labels only show value for last series #960

Closed
michaud opened this issue Apr 30, 2019 · 1 comment
Closed

duplicate series labels only show value for last series #960

michaud opened this issue Apr 30, 2019 · 1 comment

Comments

@michaud
Copy link

michaud commented Apr 30, 2019

var seriesName = this.labels_[idx];

this.series_[seriesName] = {

when using the label as a series identifier the data gets overwritten if the label appears multiple times in this.labels_
using the labels as a dictionary field in this case creates a weakness, who knows what people put in those labels

@mirabilos
Copy link
Collaborator

Yes, you cannot use duplicate labels. What they put there is converted to a String, since that’s what dictionary keys are; otherwise, the GIGO principle applies here.

@mirabilos mirabilos closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants