0 Replies Latest reply on Jul 6, 2014 7:59 AM by ef5527f4-7f17-46d6-a2de-1a8149abe2d4

    AnyChart Jar - Ratio of Bars in the bar charts is not proper.

    ef5527f4-7f17-46d6-a2de-1a8149abe2d4

      In Bar charts of Anychart if the values of bars are small, for instance there are two bars one has a count of 1 and the other has count of 2 than the bar size are not proportional. And same value is displayed multiple times in the Y axis.

      Please find the attachment for screen shot of the chart.

      Can u please let us know the solution for the above problem.


      Anychart 5.0

      Weblogic 10.3.4

      Java 1.6


      Below is the code snippet


      <chart_settings>

        <title enabled="true" position="Top" align_mode="horizontal"  align="Right">

            <text><![CDATA[ (Total Inquiries : {%DataPlotYSum}{numDecimals:0})]]></text>

              </title>

        <chart_background enabled="false"/>

        <title enabled="false"></title>

             

        <axes>

        <x_axis enabled="True">

        <title enabled="true"><text><![CDATA[Titlet]]></text></title>

        <% if("true".equals(renderLegend)){%>

        <labels display_mode="Rotated" rotation="90" align="inside" allow_overlap="false" width="60"/>

        <%}else {%>

        <labels enabled="false"/>

        <%}%>

        </x_axis>

        <y_axis position="Normal">

        <scale inverted="False" type="Linear"/>

        <title enabled="true"><text><![CDATA[Title]]></text></title>

        <labels>

                    <format><![CDATA[{%Value}{numDecimals:0}]]></format>

                  </labels>

      </y_axis>

        </axes>

       

        </chart_settings>

       

      Thanks in Advance