Пример #1
0
        /// <summary>
        /// Claim the space indicated by properties.
        /// </summary>
        /// <param name="iclc"></param>
        void IRequireLayout.Layout(IChartLayoutContext iclc)
        {
            var space = AxisMargin + AxisLineThickness + (Orientation == AxisOrientation.Horizontal ? MinHeight : MinWidth);

            iclc.ClaimSpace(this, Side, space);
        }
Пример #2
0
        /// <summary>
        /// Claim the space indicated by properties.
        /// </summary>
        /// <param name="iclc"></param>
        void IRequireLayout.Layout(IChartLayoutContext iclc)
        {
            var space = AxisMargin + AxisLineThickness + MinWidth;

            iclc.ClaimSpace(this, Side, space);
        }