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

fix: fill the datasets with 0s when not enough data points #6793

Merged
merged 5 commits into from
Apr 9, 2024

Conversation

andreas-unleash
Copy link
Contributor

Fills datasets that do not have all the datapoints with 0 so that every line in the graph starts at the beginning and ends at the end of graph.

Closes # 1-2256

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Copy link

vercel bot commented Apr 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2024 8:04am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Apr 9, 2024 8:04am

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
flex: 1,
maxWidth: '360px',
width: '100%',
zIndex: 100000,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, this was there. Feel free to adapt in a different PR. The point of this PR is to fill the chart data with 0s when no data for that datapoint

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the zIndex. It's not needed

…ronmentTypeChart/UpdatesPerEnvironmentTypeChart.tsx

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
@andreas-unleash andreas-unleash merged commit 2e0ca31 into main Apr 9, 2024
13 checks passed
@andreas-unleash andreas-unleash deleted the fix/fill_datasets_with_0 branch April 9, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants