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

[Enhancement]: how can i prevent zero from being included at line chart ? #1275

Closed
mrtsrdm opened this issue Jan 18, 2022 · 3 comments
Closed

Comments

@mrtsrdm
Copy link

mrtsrdm commented Jan 18, 2022

Contact Details

[email protected]

Question

There are so many gaps at start and end of the line(first image) chart, even if ı set [includeZero: false].
I think it should be like in the second image. How can i handle this ?

image

image

@SteffenBaumann
Copy link

SteffenBaumann commented Jan 18, 2022

Check this comment on a closed issue: #1246 (comment)

so if you want no spaces at all (like the second image) use addSpaceOnEgdes: 0. If you want a smaller gap for time series (less than a day), you need to use custom domains as well.

@mrtsrdm
Copy link
Author

mrtsrdm commented Jan 26, 2022

thank you @SteffenBaumann

@mrtsrdm mrtsrdm closed this as completed Jan 26, 2022
@mrtsrdm
Copy link
Author

mrtsrdm commented Jan 26, 2022

it is okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants