Issue 110300 - changing DataRowSource - IllegalArgumentException
Summary: changing DataRowSource - IllegalArgumentException
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-22 11:35 UTC by Oliver Brinzing
Modified: 2013-02-24 21:21 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test_diagramm (15.59 KB, application/vnd.oasis.opendocument.spreadsheet)
2010-03-22 11:35 UTC, Oliver Brinzing
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Oliver Brinzing 2010-03-22 11:35:09 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
Comment 1 Oliver Brinzing 2010-03-22 11:35:46 UTC
Created attachment 68469 [details]
test_diagramm
Comment 2 Oliver Brinzing 2010-03-22 11:49:13 UTC
just noticed:

oChart.getDiagram().DataRowSource = com.sun.star.chart.ChartDataRowSource.ROWS

works fine ...

setting Priority to P3

Comment 3 kla 2010-05-20 13:17:18 UTC
@IHA: pls have a look.
Comment 4 IngridvdM 2010-06-01 17:20:38 UTC
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.
Comment 5 IngridvdM 2010-06-03 13:09:29 UTC
Thomas, please verify in CWS chart47.
Running the macro in the attached document should not lead to an error message
anymore.
Comment 6 kla 2010-06-11 09:27:35 UTC
Seen ok in cws chart 47 -> verified
Comment 7 kla 2011-04-01 10:05:07 UTC
Seen ok into the master -> closed