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
105
xamWebChart X-Axis label styles
posted

Can xamWebChart X-Axis labels be displayed vertically or with an angle? Can the labels show on multiple lines, such as even on top line and odd on the second line?

Thanks.

  • 1134
    Verified Answer
    posted

    Hi ywang999,

    Currently you can set the Angle property on a LabelGroup object for the Axis.Label property.  Here's what I did:

    <igChart:Axis AxisType="PrimaryX" x:Name="xAxis">
                        <igChart:Axis.Label>
                            <igChart:LabelGroup Angle="90"/>
                        </igChart:Axis.Label>
            </igChart:Axis>
    

    As of right now, the chart does not allow showing multiple lines as you suggest.  We are working on label grouping for our 11.1 release, which perhaps might be something you'd be interested in.'

    Hope this helps,

    Marisa