Skip to content
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

[Bug Report]: pie chart in docx template after data replace cannot be displayed normally. #110

Open
isfang opened this issue Jan 28, 2021 · 4 comments
Labels
P: High S: on hold The issue is on hold until further notice T: Feature A new feature

Comments

@isfang
Copy link

isfang commented Jan 28, 2021

Environment
Carbone Version: carbone@2.1.1
Node Version: v14.12.0
Browsers: --
Desktop OS: Mac Os 11.0.1 (20B29)
LibreOffice: tried 7.0.4 & 6.4.7

Expected Behaviour

  1. Template: use a 'docx' file with a pie chart
    2.Just inject a simple json data into the template.The 'result.docx' hopes to be displayed normally.

Actual Behaviour
After the data is replaced, the pie chart cannot be displayed normally in 'result.docx'.

Steps to reproduce
Steps to reproduce the bug:

  1. git clone https://github.com/isfang/carbone-research.git
  2. cd carbone-research
  3. node test.js
  4. open 'result.docx', the pie chart can not be displayed normally

Screenshots
template file:
image
after data replace:
image

but 'result.docx' can not be displayed normally.

Reproduction Link / Code example
You can share your Carbone code through https://codesandbox.io/ or directly on this file.

Other comments
Add any other context about the problem here.

@isfang isfang added the T: bug Functionality that does not work as intended/expected label Jan 28, 2021
@isfang
Copy link
Author

isfang commented Jan 28, 2021

If you do not add 'hardRefresh: true', edit and close the result file it will display normally. If you add it, it will also be invalid.

@isfang isfang changed the title [Bug Report]: [Bug Report]: pie chart in docx template after data replace cannot be displayed normally. Jan 28, 2021
@steevepay
Copy link
Member

Hello @isfang, thank you for reaching us!
Carbone is not able yet to generate DOCX reports with charts and this is a project coming for 2021. I keep your use case for future testing ;)

@steevepay steevepay added P: High S: on hold The issue is on hold until further notice T: Feature A new feature and removed T: bug Functionality that does not work as intended/expected labels Feb 3, 2021
@steevepay steevepay mentioned this issue Feb 3, 2021
21 tasks
@isfang
Copy link
Author

isfang commented Feb 4, 2021

Hello @isfang, thank you for reaching us!
Carbone is not able yet to generate DOCX reports with charts and this is a project coming for 2021. I keep your use case for future testing ;)

Thank you for your reply, maybe 'embeddings/Microsoft_Excel____\d' has been processed, '/word/charts/chart[0-9]*.xml also ' needs to be processed.

@steevepay
Copy link
Member

Yes, I already analyzed and noted that part for future development ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: High S: on hold The issue is on hold until further notice T: Feature A new feature
Projects
None yet
Development

No branches or pull requests

2 participants