title: How do i get the getMajorUnit value from a plotted graph using apache poi
body: <p>i have plotted a graph successfully. Now i want to know the values of majorunit and minorunit using java apache poi.</p>
  <p>Something like</p>
  <pre><code>XDDFValueAxis axis =
  axis.getMajorUnit()
  </code></pre>
  <p>is not returning the value which is used in the graph which was set automatically</p>
  <p>Is there any workaround to get the  major unit / minor unit / upper bound / lowerbound values</p>