//-------------------------------------------------------------------------------------------------------
        //-------------------------------------------------------------------------------------------------------
        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;
        }
        //-------------------------------------------------------------------------------------------------------
        //-------------------------------------------------------------------------------------------------------
        private static void GraphInfoCollectionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            SwordfishXYLineChartControl chartControl        = d as SwordfishXYLineChartControl;
            IList <GraphInfo>           graphInfoCollection = (IList <GraphInfo>)e.NewValue;

            if (graphInfoCollection == null)
            {
                return;
            }

            chartControl.xyLineChart.Reset();

            for (int index = 0; index < graphInfoCollection.Count; index++)
            {
                GraphInfo graphInfo = graphInfoCollection[index];
                double[]  xValues   = PlaneManager.GetCoordinatesX(graphInfo.GraphPoints);
                double[]  yValues   = PlaneManager.GetCoordinatesY(graphInfo.GraphPoints);

                chartControl.DrawChart
                    (xValues, yValues, graphInfo.GraphColor, graphInfo.GraphName, graphInfo.LineVisibility, graphInfo.PointsVisibility, false);
            }
        }