Apache OpenOffice (AOO) Bugzilla – Issue 110300
changing DataRowSource - IllegalArgumentException
Last modified: 2013-02-24 21:21:29 UTC
i tried to change the property "DataRowsource" oChart.getDiagram().setPropertyValue("DataRowSource", com.sun.star.chart.ChartDataRowSource.ROWS) but got an "IllegalArgumentException" exception the example works fine with oo 1.1.5 ... please have a look at the attachment
Created attachment 68469 [details] test_diagramm
just noticed: oChart.getDiagram().DataRowSource = com.sun.star.chart.ChartDataRowSource.ROWS works fine ... setting Priority to P3
@IHA: pls have a look.
Strictly this is not a bug as the correct type for the property is the enum class and not a long. But I have no problem with also allowing long as input type. Fixed in CWS chart47.
Thomas, please verify in CWS chart47. Running the macro in the attached document should not lead to an error message anymore.
Seen ok in cws chart 47 -> verified
Seen ok into the master -> closed