Stefan Renz created ODFTOOLKIT-332:
--------------------------------------

             Summary: Chart#init() manipulates underlying ChartChartElement
                 Key: ODFTOOLKIT-332
                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-332
             Project: ODF Toolkit
          Issue Type: Bug
          Components: simple api
    Affects Versions: 0.6
            Reporter: Stefan Renz


Context: I'm trying to read a ODT Text Document to manipulate contained charts. 
I'd like to maintain the layout and styling information of the Chart, but need 
to change the underlying data so that the chart displays generated data.

This is currently not possible with SimpleAPI, because Chart#init() changes the 
attributes svgWidth, svgHeight, and chartClass to fixed values, which I expect 
to remain as defined by the ChartChartElement.

Suggestion: Only set the attributes if the underlying ChartChartElement does 
not have a value set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to