public static EnumerableDataSource <float> AsYDataSource(this IEnumerable <float> collection)
        {
            EnumerableYDataSource <float> ds = new EnumerableYDataSource <float>(collection);

            ds.SetYMapping(f => (double)f);
            return(ds);
        }
        public static EnumerableDataSource <double> AsYDataSource(this IEnumerable <double> collection)
        {
            EnumerableYDataSource <double> ds = new EnumerableYDataSource <double>(collection);

            ds.SetYMapping(y => y);
            return(ds);
        }