Пример #1
0
        private void HighlightPoint(ItemBase item)
        {
            var point = _modelController.GlucoseDataPoints.FirstOrDefault(x => x.Equals(item.GenerateDataPoint()));

            if (!point.IsDefined())
            {
                LOG.Warn("Point is missing!");
                return;
            }

            var model = ((GraphPage)_graphFrame.Content)?.Plot.ActualModel;

            if (model == null)
            {
                LOG.Warn("Unable to get plot model");
                return;
            }
        }