Bug 57369

Summary: Provide functions to change major and minor unit for XSSFChartAxis
Product: POI Reporter: srivastavavijay
Component: XSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 3.10-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description srivastavavijay 2014-12-19 09:34:51 UTC
Currently there seems to be no way to change major and minor unit changes for ValueAxis (similar to HSSFCahrt.setValueRange(int axisIndex, java.lang.Double minimum, java.lang.Double maximum, java.lang.Double majorUnit, java.lang.Double minorUnit).
Comment 1 Nick Burch 2014-12-21 06:21:33 UTC
Any chance you could write up a small patch to add this in? Bonus marks if you can do a unit test for it too!
Comment 2 srivastavavijay 2014-12-22 04:09:26 UTC
(In reply to Nick Burch from comment #1)
> Any chance you could write up a small patch to add this in? Bonus marks if
> you can do a unit test for it too!

I would like to provide small patches or enhancement in future once i get time to go through open XML format and code base. (esp. i would look into the feasibility of adding column chart from the scratch).
Comment 3 Alain Fagot Bearez 2018-02-12 13:19:59 UTC
New functions are provided as of r1823963