{"action":"closed","issue":{"url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/issues/67","labels_url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/issues/67/comments","events_url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/issues/67/events","html_url":"https://github.com/beto-rodriguez/Live-Charts/issues/67","id":126702773,"number":67,"title":"realtime data updates not working","user":{"login":"Trass3r","id":404623,"avatar_url":"https://avatars.githubusercontent.com/u/404623?v=3","gravatar_id":"","url":"https://api.github.com/users/Trass3r","html_url":"https://github.com/Trass3r","followers_url":"https://api.github.com/users/Trass3r/followers","following_url":"https://api.github.com/users/Trass3r/following{/other_user}","gists_url":"https://api.github.com/users/Trass3r/gists{/gist_id}","starred_url":"https://api.github.com/users/Trass3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trass3r/subscriptions","organizations_url":"https://api.github.com/users/Trass3r/orgs","repos_url":"https://api.github.com/users/Trass3r/repos","events_url":"https://api.github.com/users/Trass3r/events{/privacy}","received_events_url":"https://api.github.com/users/Trass3r/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/beto-rodriguez/Live-Charts/labels/in%20progress","name":"in progress","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-14T17:15:30Z","updated_at":"2016-01-14T19:26:30Z","closed_at":"2016-01-14T19:26:30Z","body":"Also using Caliburn like in #59 and a binding similar to the BindingLine example, i.e. directly mapping PrimaryValues=\"{Binding SomePropertyOfTypeObservableCollection}\".\r\nBut data updates don't trigger a redraw. One can trigger it \"manually\" by zooming.\r\n\r\nSame thing in the example, it does not update the plot unless you switch to another plot and back:\r\n ```diff\r\ndiff --git a/ChartsTest/Line Examples/Binding/BindingLine.xaml.cs b/ChartsTest/Line Examples/Binding/BindingLine.xaml.cs\r\nindex 105510e..6f13e00 100644\r\n--- a/ChartsTest/Line Examples/Binding/BindingLine.xaml.cs\t\r\n+++ b/ChartsTest/Line Examples/Binding/BindingLine.xaml.cs\t\r\n@@ -1,5 +1,7 @@\r\n-﻿using System.Collections.ObjectModel;\r\n+﻿using System;\r\n+using System.Collections.ObjectModel;\r\n using System.Windows;\r\n+using System.Windows.Threading;\r\n \r\n namespace ChartsTest.Line_Examples\r\n {\r\n@@ -15,7 +17,16 @@ namespace ChartsTest.Line_Examples\r\n                 SecondSeries = new ObservableCollection<double> { 7, 3, 4, 1, 5, 6, 8, 5, 1, 3 }\r\n             };\r\n             DataContext = this;\r\n-        }\r\n+\r\n+\t\t\tvar rnd = new Random();\r\n+\t\t\tvar dispatcherTimer = new DispatcherTimer();\r\n+\t\t\tdispatcherTimer.Tick += (sender, eargs) =>\r\n+\t\t\t{\r\n+\t\t\t\tViewModel.FirstSeries.Add(rnd.NextDouble()*8);\r\n+\t\t\t};\r\n+\t\t\tdispatcherTimer.Interval = new TimeSpan(0, 0, 1);\r\n+\t\t\tdispatcherTimer.Start();\r\n+\t\t}\r\n \r\n         private void CleanLine_OnLoaded(object sender, RoutedEventArgs e)\r\n         {\r\n```"}}