title: MultiAxisChart In Jasper report both axis are coming left side
body: <p>I was able to start with MultiAxis Chart with Jasper report using Link : <a href="https://i.stack.imgur.com/7oXaT.png" rel="nofollow noreferrer">create MultiAxis Chart with Jasper report</a>. </p>
  
  <p>I was able to creat the chart as well but not completely formatted. I was having Axis Problem. Both X-axis are coming on left side. How do I move one Axis of bar chart on right side. Following is the picture of my current problem:</p>
  
  <p><a href="https://i.stack.imgur.com/7oXaT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7oXaT.png" alt="enter image description here"></a></p>
  
  <p>Following is my jrxml content.</p>
  
  <pre><code>            &lt;?xml version="1.0" encoding="UTF-8"?&gt;
              &lt;jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="cutting_indicator_cutter" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"&gt;
                  &lt;property name="ireport.zoom" value="1.0"/&gt;
                  &lt;property name="ireport.x" value="0"/&gt;
                  &lt;property name="ireport.y" value="48"/&gt;
                  &lt;subDataset name="chart1"&gt;
                      &lt;queryString language="SQL"&gt;
                          &lt;![CDATA[select Q.proddate,NVL(Q.m2NetReel,0)
              ,case when Q.HMO &lt;&gt; 0 then
                                                        NVL((Q.m2NetReel/Q.HMO),0)
                                                    end  as m2NETBYHMO,
                                                    Q.Objectif_HMOBY1000
              from (
  
              SELECT
                PROD_DATE as proddate,
                case when CUTTING_PRODUCTIVITY.REMAKE_CUT_SQM  is null then CUTTING_PRODUCTIVITY.CUTTER_NET_SQM
                else
                     CUTTING_PRODUCTIVITY.CUTTER_NET_SQM +  CUTTING_PRODUCTIVITY.REMAKE_CUT_SQM
                end as m2NetReel,
                 (CUTTING_PRODUCTIVITY.MACHINE_WORKING_HOURS_NORM * CUTTING_PRODUCTIVITY.USER_QUANTITY ) as HMO,
                 1000/(CUTTING_MACHINE.CADENCY*19.26) as Objectif_HMOBY1000
  
  
              FROM  CUTTING_PRODUCTIVITY CUTTING_PRODUCTIVITY
              INNER JOIN  CUTTING_MACHINE CUTTING_MACHINE
              ON CUTTING_MACHINE_ID=CUTTING_MACHINE.CUTTING_ID where trunc(CUTTING_PRODUCTIVITY.PROD_DATE) &gt;= '1-May-15' and trunc( CUTTING_PRODUCTIVITY.PROD_DATE ) &lt;='31-May-15'
              ORDER BY CUTTER) Q]]&gt;
                      &lt;/queryString&gt;
                      &lt;field name="PRODDATE" class="java.sql.Timestamp"/&gt;
                      &lt;field name="NVL(Q.M2NETREEL,0)" class="java.math.BigDecimal"/&gt;
                      &lt;field name="M2NETBYHMO" class="java.math.BigDecimal"/&gt;
                      &lt;field name="OBJECTIF_HMOBY1000" class="java.math.BigDecimal"/&gt;
                  &lt;/subDataset&gt;
                  &lt;queryString&gt;
                      &lt;![CDATA[SELECT EST_CUTTER_GLASSES_QTY,
                CUTTER_NET_SQM,
                REMAKE_CUT_QTY,
                PROD_DATE,
                REMAKE_CUT_SQM,
                CUTTING_MACHINE.CADENCY,
                USER_QUANTITY,
                CUTTER,
                MACHINE_WORKING_HOURS_NORM
              FROM  CUTTING_PRODUCTIVITY CUTTING_PRODUCTIVITY
              INNER JOIN  CUTTING_MACHINE CUTTING_MACHINE
              ON CUTTING_MACHINE_ID=CUTTING_MACHINE.CUTTING_ID
              where trunc(CUTTING_PRODUCTIVITY.PROD_DATE) &gt;= '1-May-15' and trunc( CUTTING_PRODUCTIVITY.PROD_DATE ) &lt;='31-May-15'
              ORDER BY CUTTER]]&gt;
                  &lt;/queryString&gt;
                  &lt;field name="EST_CUTTER_GLASSES_QTY" class="java.math.BigDecimal"/&gt;
                  &lt;field name="CUTTER_NET_SQM" class="java.math.BigDecimal"/&gt;
                  &lt;field name="REMAKE_CUT_QTY" class="java.math.BigDecimal"/&gt;
                  &lt;field name="PROD_DATE" class="java.sql.Timestamp"/&gt;
                  &lt;field name="REMAKE_CUT_SQM" class="java.math.BigDecimal"/&gt;
                  &lt;field name="CADENCY" class="java.math.BigDecimal"/&gt;
                  &lt;field name="USER_QUANTITY" class="java.math.BigDecimal"/&gt;
                  &lt;field name="CUTTER" class="java.lang.String"/&gt;
                  &lt;field name="MACHINE_WORKING_HOURS_NORM" class="java.math.BigDecimal"/&gt;
                  &lt;group name="CUTTER"&gt;
                      &lt;groupExpression&gt;&lt;![CDATA[$F{CUTTER}]]&gt;&lt;/groupExpression&gt;
                      &lt;groupHeader&gt;
                          &lt;band height="325"&gt;
                              &lt;frame&gt;
                                  &lt;reportElement x="0" y="0" width="555" height="325" printWhenGroupChanges="CUTTER"/&gt;
                                  &lt;multiAxisChart&gt;
                                      &lt;chart renderType="svg" theme="generic"&gt;
                                          &lt;reportElement x="24" y="0" width="486" height="325"&gt;
                                              &lt;property name="net.sf.jasperreports.chart.range.axis.tick.interval" value="2"/&gt;
                                          &lt;/reportElement&gt;
                                          &lt;chartTitle/&gt;
                                          &lt;chartSubtitle/&gt;
                                          &lt;chartLegend position="Bottom"/&gt;
                                      &lt;/chart&gt;
                                      &lt;multiAxisPlot&gt;
                                          &lt;plot/&gt;
                                          &lt;axis&gt;
                                              &lt;lineChart&gt;
                                                  &lt;chart renderType="svg"&gt;
                                                      &lt;reportElement x="0" y="0" width="0" height="0" backcolor="#FFFFFF"/&gt;
                                                      &lt;chartTitle color="#000000"/&gt;
                                                      &lt;chartSubtitle color="#000000"/&gt;
                                                      &lt;chartLegend textColor="#000000" backgroundColor="#FFFFFF" position="Bottom"/&gt;
                                                  &lt;/chart&gt;
                                                  &lt;categoryDataset&gt;
                                                      &lt;dataset&gt;
                                                          &lt;datasetRun subDataset="chart1"&gt;
                                                              &lt;connectionExpression&gt;&lt;![CDATA[$P{REPORT_CONNECTION}]]&gt;&lt;/connectionExpression&gt;
                                                          &lt;/datasetRun&gt;
                                                      &lt;/dataset&gt;
                                                      &lt;categorySeries&gt;
                                                          &lt;seriesExpression&gt;&lt;![CDATA["WEIGHTAVG"]]&gt;&lt;/seriesExpression&gt;
                                                          &lt;categoryExpression&gt;&lt;![CDATA[$F{PRODDATE}]]&gt;&lt;/categoryExpression&gt;
                                                          &lt;valueExpression&gt;&lt;![CDATA[$F{NVL(Q.M2NETREEL,0)}]]&gt;&lt;/valueExpression&gt;
                                                      &lt;/categorySeries&gt;
                                                      &lt;categorySeries&gt;
                                                          &lt;seriesExpression&gt;&lt;![CDATA["OBJECTIF"]]&gt;&lt;/seriesExpression&gt;
                                                          &lt;categoryExpression&gt;&lt;![CDATA[$F{PRODDATE}]]&gt;&lt;/categoryExpression&gt;
                                                          &lt;valueExpression&gt;&lt;![CDATA[$F{OBJECTIF_HMOBY1000}]]&gt;&lt;/valueExpression&gt;
                                                      &lt;/categorySeries&gt;
                                                  &lt;/categoryDataset&gt;
                                                  &lt;linePlot isShowLines="true" isShowShapes="true"&gt;
                                                      &lt;plot labelRotation="-45.0"/&gt;
                                                  &lt;/linePlot&gt;
                                              &lt;/lineChart&gt;
                                          &lt;/axis&gt;
                                          &lt;axis&gt;
                                              &lt;barChart&gt;
                                                  &lt;chart renderType="svg"&gt;
                                                      &lt;reportElement x="0" y="0" width="0" height="0" backcolor="#FFFFFF"/&gt;
                                                      &lt;chartTitle color="#000000"/&gt;
                                                      &lt;chartSubtitle color="#000000"/&gt;
                                                      &lt;chartLegend textColor="#000000" backgroundColor="#FFFFFF" position="Bottom"/&gt;
                                                  &lt;/chart&gt;
                                                  &lt;categoryDataset&gt;
                                                      &lt;dataset&gt;
                                                          &lt;datasetRun subDataset="chart1"&gt;
                                                              &lt;connectionExpression&gt;&lt;![CDATA[$P{REPORT_CONNECTION}]]&gt;&lt;/connectionExpression&gt;
                                                          &lt;/datasetRun&gt;
                                                      &lt;/dataset&gt;
                                                      &lt;categorySeries&gt;
                                                          &lt;seriesExpression&gt;&lt;![CDATA["M2NetHMO"]]&gt;&lt;/seriesExpression&gt;
                                                          &lt;categoryExpression&gt;&lt;![CDATA[$F{PRODDATE}]]&gt;&lt;/categoryExpression&gt;
                                                          &lt;valueExpression&gt;&lt;![CDATA[$F{M2NETBYHMO}]]&gt;&lt;/valueExpression&gt;
                                                      &lt;/categorySeries&gt;
                                                  &lt;/categoryDataset&gt;
                                                  &lt;barPlot&gt;
                                                      &lt;plot/&gt;
                                                      &lt;itemLabel/&gt;
                                                  &lt;/barPlot&gt;
                                              &lt;/barChart&gt;
                                          &lt;/axis&gt;
                                      &lt;/multiAxisPlot&gt;
                                  &lt;/multiAxisChart&gt;
                              &lt;/frame&gt;
                          &lt;/band&gt;
                      &lt;/groupHeader&gt;
                  &lt;/group&gt;
                  &lt;background&gt;
                      &lt;band splitType="Stretch"/&gt;
                  &lt;/background&gt;
                  &lt;title&gt;
                      &lt;band height="50"/&gt;
                  &lt;/title&gt;
              &lt;/jasperReport&gt;
  </code></pre>
  
  <p>How do I move my bar chart axis to right?</p>