Comments (7)
Okay, good news - I've been able to isolate the issue that is causing the chart not to render. It is caused by a bug in the serialization of the tooltip.format
option, though why this would be serializing strangely (and more specifically, serializing strangely if it's in use within a pie series) I do not yet know. I'm going to track down what the root cause of this bug is, but I can definitely confirm that to be the proximal issue preventing the chart from rendering. Hopefully, I'll have this fixed + patched soon.
from highcharts-core.
I sent an email with the details you've requested.
from highcharts-core.
I've been able to resolve the issue. It turned out to not be related to PieSeries
at all, but instead an edge case when serializing strings. Specifically, if careful validation were disabled (the default, introduced in v.1.4 for performance improvements) and a string value started with {
, ended with }
, and contained a colon :
it was getting improperly identified as a JS literal object when serializing. As a result, your tooltip.format
string was getting serialized incorrectly to a JS literal string, preventing the chart from loading.
I'll be pushing out a patch release shortly (once the CI/CD pipelines run). Once the new version (v.1.5.1) is deployed, this issue will get auto-closed (I'll also comment here to double-confirm, in any case).
from highcharts-core.
And just confirming that the fix for this has been released in v.1.5.1. Hopefully this resolves the issue for you, but if it does not feel free to re-open. And if you run into any other issues, please feel free to log an issue here. Thanks again!
from highcharts-core.
It works! Thanks so much @hcpchris! Have a great weekend.
from highcharts-core.
Thanks, @ndrwkim ! I don't recall there being any changes to PieSeries
introduced, let alone ones that might affect this, but I may be misremembering. Let me take a closer / deeper look, and thanks for sharing the DOM output: That will definitely help me recreate the issue and track down what may be preventing the chart from rendering correctly. I'll hopefully have more info and a resolution on this issue today.
from highcharts-core.
Hi @ndrwkim : When you have a moment, can you share:
- The code snippet or JS template that you're using to configure your
tooltip
(or specifically yourtooltip.format
) option, and - The method call (presumably
.to_js_literal()
) that you are using to serialize your chart to JS?
I'm having difficulty regenerating the DOM output that you provided with the incorrectly-serialized tooltip.format
so seeing how you exactly you are setting that option will help me to create a test case for it and track down the exact bug.
from highcharts-core.
Related Issues (20)
- Simplify .from_pandas()
- Simplify .from_csv()
- Add SeriesBase.convert_to() method to convert between series types.
- Add CallbackFunction.from_python() method
- python highcharts integration issue with loading script in Jupyter Notebook HOT 8
- BUG - Custom point attributes are lost in from_dict call HOT 2
- Boxplot rendering in jupyterlab - highcharts-more issue? HOT 8
- `from_pandas` method raises `HighchartsValueError` when a DataFrame column is a datetime object HOT 2
- FEATURE REQUEST: JS Literal Sanitising HOT 2
- Request new feature: Rendering Highchart core in Streamlit HOT 1
- Unable to use chart.marginRight HOT 12
- Add Highcharts Core for Python support for Highcharts v.11.2
- Add support for `_repr_html_` to Highcharts Core for Python
- Add support for `_repr_png_`, `_repr_svg_`, `_repr_jpeg_` to Highcharts Core for Python
- Add support for `_ipython_display_` to Highcharts Core for Python HOT 1
- Add GPT 4.5 Turbo support
- BUG : chart.display() rendering in Jupyter Lab but not in Jupyter notebook (in web browser)
- BUG Cannot set chart_options of Exporting class to HighchartsOptions instance
- Format of data for large number of points to be a list instead of dict HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from highcharts-core.