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

Add Option for Dynamic Chart Legend Position #1699

Merged
merged 2 commits into from
Feb 9, 2021

Conversation

StephanKuiper-Insight
Copy link
Contributor

Description

Currently thechart legend position cannot be altered via an option. This release fixes that by adding in an option in getStyle to set the legend position. It's using the ISO standards for adding it.

Checklist:

  • I have run composer run-script check --timeout=0 and no errors were reported
  • The new code is covered by unit tests (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes

* Writer/Part/chart.php - Add dynamic Legend positions

The position of the legend of charts was always fixed to the right. Adding in the option to set it dynamically via a new option under styles/chart

* Update Styles/Chart.php

Add in the public functions to getStyle() to get and set the legend position
* Writer/Part/Chart.php Add dynamic Legend positions

The position of the legend of charts was always fixed to the right. Adding in the option to set it dynamically via a new option under styles/chart

* Update Syle/Chart.php

Add in the public functions to getStyle() to get and set the legend position
@troosan
Copy link
Contributor

troosan commented Sep 1, 2019

@Stephan212 can you

  • merge develop to your branch
  • fix any issues reported (please run composer run-script check --timeout=0)
  • update the documentation (styles.rst) (I know a lot of other attributes are not documented either, but that's no excuse :-), feel free to add the missing ones)

@troosan troosan added the Status: Waiting for feedback Question has been asked, waiting for response from PR author label Sep 30, 2019
troosan added a commit that referenced this pull request Feb 9, 2021
Add Option for Dynamic Chart Legend Position #1699
@troosan troosan merged commit 9945240 into PHPOffice:develop Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Waiting for feedback Question has been asked, waiting for response from PR author
Development

Successfully merging this pull request may close these issues.

2 participants