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

I want not show min/max label on time scale #3671

Closed
nasu38yen opened this issue Dec 2, 2016 · 0 comments · Fixed by #4556
Closed

I want not show min/max label on time scale #3671

nasu38yen opened this issue Dec 2, 2016 · 0 comments · Fixed by #4556

Comments

@nasu38yen
Copy link

xAxes: [{ type: 'time',
time: { unit: 'month', unitStepSize: 2,
min: Date.parse('2016-6-1'), max: Date.parse('2016-11-30'),
displayFormats: { 'month': 'YYYY/MM' }
},}],

this shows xaxis labels {'2016/6', '2016/8', '2016/10', '2016/11'}.
'2016/11' is bad. '2016/12' is right.

xAxes: [{ type: 'time',
time: { unit: 'month', unitStepSize: 1,
min: Date.parse('2016-9-30'), max: Date.parse('2016-11-29'),
displayFormats: { 'month': 'YYYY/MM' }
},}],

this shows xaxis labels {'2016/9', '2016/9', '2016/10', '2016/11', '2016/12'}.
'2016/9' is displayed overlapping.

It feels good if there is an option not to display xaxis min / max label.
How is that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Time Scale
Features
Development

Successfully merging a pull request may close this issue.

3 participants