Exemplo n.º 1
0
        public void GenerateScale()
        {
            _view.TimescalePanel.Children.Clear();

            var timeCollection = TimeRangeDivider.Divide(new TimeRange()
            {
                StartDateTime = _startDateTime,
                EndDateTime   = GetEndDateTime()
            });

            TimelineGenerator gen =
                new TimelineGenerator(null, timeCollection, ScaleWidth, (double)0, CanvasHeight);

            gen.GenerateScale(_view.TimescalePanel);
        }
Exemplo n.º 2
0
        public void GenerateBorders()
        {
            _view.TimelinePanel.Children.Clear();

            ResetDataCanvasWidth();

            var timeCollection = TimeRangeDivider.Divide(new TimeRange()
            {
                StartDateTime = _startDateTime,
                EndDateTime   = GetEndDateTime()
            });

            TimelineGenerator gen =
                new TimelineGenerator(_dataSource, timeCollection, DataCellWidth, (double)0, CanvasHeight);

            gen.GenerateBorders(_view.TimelinePanel);
            gen.GenerateEvents(_view.TimelinePanel, _eventModelManager);
        }
Exemplo n.º 3
0
        public void GenerateScale()
        {
            _view.TimescalePanel.Children.Clear();

            var timeCollection = TimeRangeDivider.Divide(new TimeRange()
            {
                StartDateTime = _startDateTime,
                EndDateTime = GetEndDateTime()
            });

            TimelineGenerator gen =
                new TimelineGenerator(null, timeCollection, ScaleWidth, (double)0, CanvasHeight);

            gen.GenerateScale(_view.TimescalePanel);
        }
Exemplo n.º 4
0
        public void GenerateBorders()
        {
            _view.TimelinePanel.Children.Clear();

            ResetDataCanvasWidth();

            var timeCollection = TimeRangeDivider.Divide(new TimeRange()
            {
                StartDateTime = _startDateTime,
                EndDateTime = GetEndDateTime()
            });

            TimelineGenerator gen =
                new TimelineGenerator(_dataSource, timeCollection, DataCellWidth, (double)0, CanvasHeight);

            gen.GenerateBorders(_view.TimelinePanel);
            gen.GenerateEvents(_view.TimelinePanel, _eventModelManager);
        }