Re: Copying chart

2018-09-04 Thread Alain FAGOT BÉAREZ
Hi FD, The code has been merged by r1840076. It might appear in release 4.0.0 or 4.0.1 (we are currently busy with 4.0.0 RC1). Best regards, Alain > On 4 Sep 2018, at 00:27, Alain FAGOT BÉAREZ wrote: > > Hi FD, > > I think all you need is the following method on XSSFDrawing: > > ``` >

Re: Copying chart

2018-09-03 Thread Alain FAGOT BÉAREZ
Hi FD, I think all you need is the following method on XSSFDrawing: ``` /** * Imports the chart from the srcChart into this drawing. * * @param srcChart *the source chart to be cloned into this drawing. * @return the newly created chart. * @throws

Re: Copying chart

2018-08-24 Thread monnomiznogoud
Hi Alain, I'll paste some test code here. In my work we have a lot of restrictions when it comes to websites. Sorry I don't know how to format this code. Important: the chartModel.xlsx should contain a chart, preferably with no relations. After all you need the model to be copied to your

Re: Copying chart

2018-08-23 Thread Alain FAGOT BÉAREZ
03:00 2018 An: dev@poi.apache.org Betreff: Copying chart Guys, You cannot ask even from advanced developers to create a chart from scratch with java code or any other code type. Copying a chart from an existing model Excel file is needed in any real life reporting project. I've tinkered wit

Re: Copying chart

2018-08-23 Thread Dave Fisher
Hi - You should create a Bugzilla and attach your patch. Regards, Dave > On Aug 23, 2018, at 2:29 PM, monnomiznog...@gmail.com wrote: > > Guys, > > You cannot ask even from advanced developers to create a chart from scratch > with java code or any other code type. > > Copying a chart from

Copying chart

2018-08-23 Thread monnomiznogoud
Guys, You cannot ask even from advanced developers to create a chart from scratch with java code or any other code type. Copying a chart from an existing model Excel file is needed in any real life reporting project. I've tinkered with the code and found a simple way to do it. I just needed