-
Notifications
You must be signed in to change notification settings - Fork 13
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
Can't display x axis as category strings in bar chart #67
Comments
Hmm - this seems a bit of an odd issue. Highcharts (JS) is not currently reading the I'll check with the JS team to determine whether the |
A workaround in the meantime is to populate your data with setting the
|
Confirmed with the JS team that this is the intended behavior on the JS side, so it looks like a bug in Highcharts Core for Python that will need to be patched. It should be patched / released later today. |
…tegory-strings PR for #67: X-axis as category with string values
Thank you for looking into this. I'm just getting back to working with this library and it is still not working for me on v1.2.6. Your workaround also doesn't work. The JS output still does not display the BarSeries. https://jsfiddle.net/24a7yehj/ |
What does work is https://jsfiddle.net/e8zpvhqt/ per the JS docs: https://api.highcharts.com/highcharts/series.bar.data |
Sorry you're still running into this issue! What's interesting is that several other cases do work which is what gave us the false-positive in our testing. Specifically, this works: https://jsfiddle.net/highchartspython/v2etpx08/3/ and so does this: https://jsfiddle.net/highchartspython/9w4oyx5c/1/ So I've re-opened this issue so that it can be addressed in our next release (v.1.3.0), which should happen over the weekend. As for the scenario where the |
Given the cases that do work, a more precise workaround that should work is:
|
Hi @ndrwkim : Just confirming that this issue should have been addressed in v.1.3.0 which was released over the weekend (and so this issue got auto-closed). Please feel free to upgrade and check if the issue is still outstanding: hopefully it should be resolved, but if not we'd be grateful if you could re-open and let us know! |
@hcpchris This is now working as expected. Thank you for working on this! |
Awesome - glad to hear it! If you run into any other issues, please let us know. |
Describe the bug
When trying to render a bar chart using a 2D data series with strings for the x axis, the chart won't render properly.
Expected behavior
https://jsfiddle.net/m6q7koLx/1/
Actual behavior
https://jsfiddle.net/m6q7koLx/2/
The text was updated successfully, but these errors were encountered: