public StaticIsolines(ObservableCollection <VisualizationDataSource> dataSources, Host host) { dataSources.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(dataSources_CollectionChanged); this.host = host; layers = new List <IsolinesLayer>(); palette = new LinearPalette(swm.Colors.Blue, swm.Colors.Green, swm.Colors.Red); runningIsoline = new RunningIsoline(null, host); host.Actors.Add(runningIsoline); }
public StaticIsolines(ObservableCollection<VisualizationDataSource> dataSources, Host host) { dataSources.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(dataSources_CollectionChanged); this.host = host; layers = new List<IsolinesLayer>(); palette = new LinearPalette(swm.Colors.Blue, swm.Colors.Green, swm.Colors.Red); runningIsoline = new RunningIsoline(null, host); host.Actors.Add(runningIsoline); }