private void InitializeComposedGraph(ProfileLine profileLine, ProfileSurface profileSurface) { profileLine.Id = 1; profileSurface.LineId = 1; _profileSession.ProfileLines = new ProfileLine[] { profileLine }; _profileSession.ProfileSurfaces = new ProfileSurface[] { profileSurface }; _profileSession.SetSegments(profileLine.SpatialReference); _surfaceProfileChart.IsGraphEmptyHandler(false); _surfaceProfileChart.InitializeGraph(); _surfaceProfileChart.SetControlSize(); }
internal SurfaceProfileChart CreateProfileChart(double observerHeight) { _defaultObserverHeight = observerHeight; _surfaceProfileChart = new SurfaceProfileChart(this); if (_profileSession.DefinitionType != ProfileSettingsTypeEnum.Composed) { _surfaceProfileChart.InitializeGraph(); } else { _surfaceProfileChart.IsGraphEmptyHandler(true); } return(_surfaceProfileChart); }