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
225
Space between point labels and y-axis
posted

Which property should I use to take out the space between the labels and the y axis? If I modify the extent of the axis it will move along with the labels and the space is kept. 

Many thanks for your guidance.

Parents
  • 2406
    posted

    Hi,

    The problem come from the value you have set to the HorizontalAlign property of the Y axes SeriesLabels. Setting it to Center will fix it:

    <Y Extent="250" LineEndCapStyle="Flat" LineThickness="1" TickmarkInterval="1"
        TickmarkStyle="Smart" Visible="true" >   
        .....
        <Labels Font="Arial, 7pt" HorizontalAlign="Far"
            ItemFormatString="&lt;ITEM_LABEL&gt;" Orientation="Horizontal"
            VerticalAlign="Center" Visible="False">
            <SeriesLabels Font="Arial, 10pt" HorizontalAlign="Center" Orientation="Horizontal"
                VerticalAlign="Near">
            </SeriesLabels>
        </Labels>
    </Y>

Reply Children