LimeReport icon indicating copy to clipboard operation
LimeReport copied to clipboard

externalPaint is not emitted when image's item location is Band

Open useful-friend opened this issue 6 years ago • 3 comments

HI I tried to use QChart to display a chart inside the report. I used the workaround you pointed out here. I faced a problem. when I use the itemLocation Band and put the image item in a dataBand the externalPaint is not emitted and the chart is not visible but when I use designer by report->designReport() and change the item location of the image item to Page and back to Band the chart is drawn successfully. what do you think I should do?

useful-friend avatar Sep 19 '19 10:09 useful-friend

Hi! External painter at the moment by some reasons works only for ImageItem placed on the page. Maybe this discussion will be useful for you http://limereport.ru/forum/index.php?topic=273.msg1925#msg1925.

fralx avatar Sep 25 '19 22:09 fralx

Thanks for the reply. 1.Do you think it will be fixed in the newer versions or it is something which will not be changed soon?

I want to show a 3 to 10-lined table on the upper part of the paper and a chart after it and another long table at the end that might be long enough to use multiple pages. 2.Do you know any workaround for what I want to do?

useful-friend avatar Sep 26 '19 09:09 useful-friend

You can draw the chart on the image and transfer it to the limereport via a variable or a callback data source

fralx avatar Sep 30 '19 08:09 fralx