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
2085
XamDataChart CategoryDateTimeXAxis Layout Space Preserved When Hidden
posted

I have the following XAML which creates several X-axes, all but one should not be displayed.  When the application runs, screen layout space is still reserved for these "hidden" axes instead of the XamDataChart expanding to the bottom of the available display area.  How can I truly hide/collapse these axes?

        <ig:XamDataChart x:Name="PhysAnalysis" VerticalZoomable="True" HorizontalZoomable="True" Grid.Row="1" Grid.Column="0">
            <ig:XamDataChart.Axes>
 
                <ig:CategoryDateTimeXAxis x:Name="_1_xAxis" DateTimeMemberPath="XOADate" Visibility="Collapsed" />
                <ig:CategoryDateTimeXAxis x:Name="_2_xAxis" DateTimeMemberPath="XOADate" Visibility="Collapsed" />
 
                <ig:CategoryDateTimeXAxis x:Name="_3_xAxis" DateTimeMemberPath="XOADate" Visibility="Collapsed" />
                <ig:CategoryDateTimeXAxis x:Name="_4_xAxis" DateTimeMemberPath="XOADate" Visibility="Collapsed" />
 
                <ig:NumericXAxis x:Name="visible_xAxis" Title="xAxis" />
                <ig:NumericYAxis x:Name="visible_yAxis" Title="yAxis" />
 
            </ig:XamDataChart.Axes>
            <ig:XamDataChart.Series>