Beispiel #1
0
        private ChartPoint CreateChartPoint(PointInTime point, IDateTimeHelper dateTimeHelper, string pattern)
        {
            // TODO: Conversion to local date time should be moved to services
            string stringDate = string.Format(pattern, dateTimeHelper.GetLocalUserDate(point.Date));

            return(new ChartPoint(stringDate, point.Value));
        }