Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
470
Data label and X axis label overlap
posted

Hi,

Anyone can find out what's wrong with the attached simple.  It seems that the Y Axis isn't long enough even if AutoRange is set to true.  The label of a negative value is partly masked by the X axis label.

I'll submit a bug, but I would like to know if there is any easy workaround.

Thanks.

SampleChart.zip
  • 9836
    posted

    Hello,

    It seems that the chart incorrectly measures the PrimaryY's range for the negative values. One way around this is setting the AutoRange to false and increase the minimum value of the axis .

     <igCA:XamChart.Axes>
           <igCA:Axis AxisType="PrimaryY" AutoRange="False" Minimum="-0.10" Maximum="0.15" Unit="0.05">
                 <igCA:Axis.Label>
                        <igCA:Label Format="{}{0:P}" />
                 </igCA:Axis.Label>
         </igCA:Axis>
    </igCA:XamChart.Axes>

    I'm going to create a support ticket  so we can investigate this issue in depth.

    Thank you.

    -Vlad