Skip to content

Line around charts should be removed #562

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

Closed
rf1234 opened this issue Jun 23, 2018 · 2 comments · Fixed by #4188
Closed

Line around charts should be removed #562

rf1234 opened this issue Jun 23, 2018 · 2 comments · Fixed by #4188
Labels

Comments

@rf1234
Copy link

rf1234 commented Jun 23, 2018

This is:

- [ ] a bug report
- [x ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)

What is the expected behavior

charts shouldn't have a line around them. This looks ugly and also unprofessional. It should be possible to remove the line or to never have a line around a chart:

What is the current behavior?

The line cannot be removed. I use a hard coded solution to get rid of it.

What are the steps to reproduce?

This is my hard coded fix in "Chart.php" in the "Xlsx" folder starting line 101 right before
$this->writePrintSettings($objWriter);

<?php
//Roland Finke: Remove shape outline of chart
        $objWriter->startElement('c:spPr');
            $objWriter->startElement('a:ln');
                $objWriter->startElement('a:noFill');
                $objWriter->endElement();
            $objWriter->endElement();
        $objWriter->endElement();
        //Roland Finke: end

Which versions of PhpSpreadsheet and PHP are affected?

@stale
Copy link

stale bot commented Aug 22, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@stale stale bot added the stale label Aug 22, 2018
@stale stale bot closed this as completed Aug 29, 2018
@oleibman
Copy link
Collaborator

oleibman commented Oct 7, 2024

Easily accomplished, reopening.

@oleibman oleibman reopened this Oct 7, 2024
@stale stale bot removed stale labels Oct 7, 2024
@oleibman oleibman added the charts label Oct 7, 2024
oleibman added a commit to oleibman/PhpSpreadsheet that referenced this issue Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants