//-------------------------------------------------------------------------------------------------------
        //-------------------------------------------------------------------------------------------------------
        public static void AxesInfoChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            SwordfishXYLineChartControl chartControl = d as SwordfishXYLineChartControl;
            AxesInfo axesInfo = ( AxesInfo )e.NewValue;

            if (axesInfo == null)
            {
                return;
            }

            //chartControl.xyLineChart.XAxisLabel = axesInfo.AxisTitleX;
            //chartControl.xyLineChart.YAxisLabel = axesInfo.AxisTitleY;
        }
        //-------------------------------------------------------------------------------------------------------
        public static void AxesInfoChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ZedGraphChartControl zedGraphChart = d as ZedGraphChartControl;
            GraphPane            graphPane     = zedGraphChart.zedGraphControl.GraphPane;

            string fontFamily  = "Arial";
            bool   isBold      = false;
            bool   isItalic    = false;
            bool   isUnderLine = false;
            int    fontSize    = 10;

            System.Drawing.Color color = System.Drawing.Color.Black;

            AxesInfo axesInfo = ( AxesInfo )e.NewValue;

            graphPane.XAxis.Title =
                new AxisLabel(axesInfo.AxisTitleX, fontFamily, fontSize, color, isBold, isItalic, isUnderLine);
            graphPane.YAxis.Title =
                new AxisLabel(axesInfo.AxisTitleY, fontFamily, fontSize, color, isBold, isItalic, isUnderLine);

            graphPane.XAxis.Scale.FontSpec.Size = 8;
            graphPane.YAxis.Scale.FontSpec.Size = 8;
        }