Skip to content

Bar plot: singular datapoint bar not visible when xaxis is set to a fixed range #4078

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

Closed
GlennMatthys opened this issue Jul 25, 2019 · 2 comments

Comments

@GlennMatthys
Copy link
Contributor

Example: https://jsfiddle.net/mo65wevq/

When plotting a bar graph with only one datapoint and the xaxis set to a fixed range, no bar is seen on the chart. When a second data element is added, the bar becomes visible. Expected behavior: a bar chart with a single datapoint shows one bar.

image

Note that the second datapoint doesn't have to contain data, its Y value can be null. There just has to be a second datapoint for the bar graph to work.

@etpinard
Copy link
Contributor

Looks like a duplicate of #1346

@etpinard
Copy link
Contributor

merged into #1346

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