public JsonResult GetTrendsModel(int startYear, int startMonth, int startDay, int endYear, int endMonth, int endDay, string ID, NodeType nodeType)
        {
            var model = ReportingModel.RefreshTrends(startYear, startMonth, startDay, endYear, endMonth, endDay, ID, nodeType);

            return(Json(model.TrendSeries));
        }
        public JsonResult GetTrendsData(int startYear, int startMonth, int startDay, int endYear, int endMonth, int endDay, string ID, NodeType nodeType)
        {
            var model = ReportingModel.RefreshTrends(startYear, startMonth, startDay, endYear, endMonth, endDay, ID, nodeType);

            return(Json(model.TrendSeries, JsonRequestBehavior.AllowGet));
        }