poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59306] Shifting rows does not shift chart data series references
Date Tue, 12 Apr 2016 00:19:47 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59306

--- Comment #2 from Javen O'Neal <onealj@apache.org> ---
Tried to write a unit test for this, then discovered XSSFChart is pretty
incomplete. Without using the CTChart* classes, it is possible to add data
series to a chart but not query existing data series.

/lang=jython
from java.io import File
from org.apache.poi.ss.usermodel import WorkbookFactory
f = File('SimpleScatterChart.xlsx')
wb = WorkbookFactory.create(f, None, True)
sheet1 = wb.getSheet('Sheet1')
chart1 = wb.getSheet('Chart1')
sheet1scatter = sheet1.createDrawingPatriarch().getCharts()[0]
chart1scatter = chart1.createDrawingPatriarch().getCharts()[0]

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message