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

[Feature request] Continue line chart beyond x-axis limits #3708

Closed
patLoeber opened this issue Oct 23, 2018 · 1 comment
Closed

[Feature request] Continue line chart beyond x-axis limits #3708

patLoeber opened this issue Oct 23, 2018 · 1 comment

Comments

@patLoeber
Copy link

Hi,

would be nice to have an easy option to continue the line chart beyond the x-axis limits.

At the moment, the line stops at the first/last data point (first pic).
But instead, line the line should continue beyond the limits (second pic).
I can make a workaround by changing the viewportOffsets, but then I also need dataPoints with 0 for the first and last point, which produces unwanted circles and axis labels at this position.

Thanks!

bildschirmfoto 2018-10-23 um 23 18 12 2
bildschirmfoto 2018-10-23 um 23 05 02 2

@liuxuan30
Copy link
Member

well... I don't think it should be us to add some more 'data' to continue the line. Instead, it should be you. If you want to continue, you can simply add some more data and manually set the axisMaximum to hide it, so it looks like what you said.

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