-
Notifications
You must be signed in to change notification settings - Fork 0
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
JavaScript error when stacked
or beginYAxisAt0
are false
#15
Comments
Delivered in v0.4.1 |
…rtjs shortcode for beginYAxisAt0 #15
Note: The values in the input field for the RangeControls appear differently for valid reasons.
The fact that Bar Thickness doesn't show a value is expected. The fact that the slider parts vary in width was also noted here bobbingwide/oik-bob-bing-wide#46 (comment) |
Not sure why I added the above comment to this particular issue. The screenshot demonstrates what happens when the |
I'm not quite sure when this started happening but the JavaScript code generated in the PHP code to set the
y
axis attributesstacked
andbeginAt0
were not setting values in my local development environment, leading to a JavaScript error.The solution is to implement a simple
boolstring()
method to return a string literal oftrue
orfalse
depending on the value of the passed parameter. This makes the syntax of the generated JS valid.The text was updated successfully, but these errors were encountered: