title: JasperReports Charts : Accessing Series expression 's Value in Customize() method
body: <p>I am using <em>JasperReports Server 5.0 professional Version</em>. </p>
  
  <p>For one of the report, I am using Chart Customizer to customize the color of the bars. Evaluation Time is Report </p>
  
  <p>In <em>iReport</em>, i have defined the Series expression as </p>
  
  <pre><code> $F{form} + "(" + $V{month} + ")"  
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/qe39z.png" alt="enter image description here"></p>
  
  <p>In customize method of <em>Java</em> file, i want to access above expressions' value which are </p>
  
  <p>1-sep  , 2 - Oct, 3 -Jan , 4 -Feb</p>
  
  <p>I have tried the following code to get Series values but no success.</p>
  
  <pre><code>  public JRCategorySeries[] categoryList = null ; 
    JRFillCategoryDataset  categoryDS  = (JRFillCategoryDataset)jasperChart.getDataset();
    categoryList = categoryDS.getSeries();
  
    SubCategoryAxis domainAxis = new SubCategoryAxis("");
    domainAxis.setCategoryMargin(0.05);
  
    for (int i = 0 ; i &lt;categoryList.length -1 ; i++ ) {
  
      JRCategorySeries jrcategoryseries = categoryList[i];
  
      domainAxis.addSubCategory(jrcategoryseries.getSeriesExpression().getText());
    }
  </code></pre>
  
  <p>I need help in accessing series data point in customize method. I will appreciate your comments.</p>