Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Try to export a PieCharts to XLSX #2

Closed
reiniermujica opened this issue Apr 23, 2020 · 3 comments
Closed

Try to export a PieCharts to XLSX #2

reiniermujica opened this issue Apr 23, 2020 · 3 comments

Comments

@reiniermujica
Copy link

I found a bug in my company software, when the client try to export a PieCharts to XLSX, the export sheet only contains the first row of the data.

The data is in this format:
[
{
"name": "Brands",
"colorByPoint": true,
"data": [
{
"name": "Chrome",
"y": 61.41,
"sliced": true,
"selected": true
},
{
"name": "Internet Explorer",
"y": 11.84
},
{
"name": "Firefox",
"y": 10.85
}
]

I finally found that the problem was in this function: highcharts/highcharts#7913 (comment)

When the data is filtering. I removed the function and the export success.

@chris-vecchio
Copy link
Owner

Hi! @reiniermujica Thanks for reporting this. I have a feeling the issue stems from how the filtering function interacts with certain series types. I'll see if I can figure out a solution outside of providing users an option to disable the filtering function.

@chris-vecchio
Copy link
Owner

chris-vecchio commented Jan 5, 2021

Sorry for the delayed reply. I just pushed a new version that automatically disables data row filtering for Pie charts as well as several other updates.

@chris-vecchio
Copy link
Owner

@reiniermujica Closing since I believe I have addressed your issue. Feel free to open another if I haven't.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants