Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Dynamic text binding a chart
thomashu
I want ta create a lot of kind of breakdown in only one component in a library (the datas is coming from a dataset).
In my report, after aplying a filter on the chart, I can choose what kind of breakdown I want.
=> For the chart, it's OK!
But I want a Dynamic Text in my component in order to have a title. I want to bind my Dynamic text wwith my chart. If I do that in my library, it's OK. But, after, I can't put my component in my report.
I have this error:
A BIRT exception occurred.
Plug-in Provider:Eclipse.org
Plug-in Name:BIRT Model
Plug-in ID:org.eclipse.birt.report.model
Version:2.5.1.v20090904
Error Code:Error.ExtendsForbiddenException.RESULT_SET_SHARED_CANT_EXTEND
Error Message:The shared result set report item "NewTextData" is not allowed to derive.
Is it a bug?
What solution I have?
Find more posts tagged with
Comments
mwilliams
Hi thomashu,
I'm not sure I know exactly how to reproduce this. Is there any way you can reproduce the error and attach the library and report design in here so that I can run it? Or give instructions on how to reproduce? Thanks.
thomashu
Hi mwilliams.
I'm sorry, I was not very clear last time.
Actually I have 2 files: .rptlibrary and .rptdesign.
In my library I have a dataset. I created a component: 1 column, 2 rows. I the second row I put a bar chart with the datas of that dataset. In the first row I put a dynamic text which is binded with my report item named Breakdownchart.
It's this binding the problem (I think all binding with a report item) This bindind doesn't work when I put my component in my report.
Let me know if I'm not clear again.
Tx for helping me
mwilliams
thomashu,
Can you attach your files in here so I can try to design a report and library with the same issue? Thanks.
thomashu
How can I attach my dataset? Because without that dataset you can't try anything
thomashu
I attached my library.
But I'm not sure you will be able to reproduce the error.
The error occurs when I try to put the component into my report.
mwilliams
thomashu,
I just meant your rptdesign and rptlibrary files so that I could see exactly what you did and try to reproduce all of it with the sample database.
thomashu
I joined my rptlibrary
The error occurs whan I try to put the component inside a rptdesign.
I don't understand what you need more...
Actually the only thing which is not working the binding of a dynamic text with a report item.
mwilliams
thomashu,
The library you attached is blank besides the dataSource and dataSet. I guess I'm confused. I thought you were making an element in your library and were having problems with it when you brought it over to your report design. So, is your issue just with using a dataSource/dataSet from a library in a report design?
P.S. - This is why I was wanting your actual report design that you're using along with your actual library, so that I could see exactly what you're doing and try to mirror the report, only with the sample database to see if it had an error as well.
thomashu
Hello,
My library on my computer is not emty, maybc, it was corrupted.
I join you it again.
In fact you dont need my rptdesign because there is nothing inside. The only component which is not working when I put it in the report is "breakdown" because of the dynamic text as I said before.
If you want to reproduce the error in your computer, try to bind a dynamic text with a report item in a library, and put the dynamic text in a rptdesign.