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

Limited Support for Chart Titles as Formulas #2971

Merged
merged 2 commits into from
Aug 7, 2022

Commits on Jul 29, 2022

  1. Limited Support for Chart Titles as Formulas

    This is a start in addressing issue PHPOffice#2965 (and earlier issue PHPOffice#749). Chart Titles are usually entered as strings or Rich Text strings, and PhpSpreadsheet supports that. They can also be entered as formulas (typically a pointer to a cell with the title text), and, not only did PhpSpreadsheet not support that, it threw an exception when reading a spreadsheet that did so.
    
    This change does:
    - eliminate the exception
    - set a static chart title when it can determine it from the Xml
    
    This change does not:
    - fully support dynamic titles (e.g. if you change the contents of the source cell, or delete or insert cells or rows or columns)
    - permit the user to set the title to a formula
    - allow the use of formulas when writing a chart title to a spreadsheet
    - provide styling for titles when it has read them as a formula
    oleibman committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    b0b9aec View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2022

  1. Configuration menu
    Copy the full SHA
    aed6a70 View commit details
    Browse the repository at this point in the history