Wpf application with real-time data in OxyPlot charts
DRANK
Source codeIntroductionThe post is devoted to the Wpf application that shows (emulated) real-time data in charts. It could be used as base for monitoring application, when data service provide real data like, for example, number of http requests or CPU temperature. OxyPlot library is used for chart controls, as it is lightweight and easy to use.Original post is published at blog.FeaturesApplication demonstrates the following features:data service provides (emulated) real-time data;chart repository parses data and provides latest data;data is shown in line and column charts;using of dependency container.BackgroundSolution uses C#6, .Net 4.6.1, Wpf with MVVM pattern, NuGet packages Unity and Ikc5.TypeLibrary, and OxyPlot chart control. OxyPlot is added to project by NuGet packages OxyPlot core library (PCL) 1.0.0 and OxyPlot for WPF 1.0.0.SolutionSolution contains one Wpf application project. The main part of the application is chart repository - the object that receives data from servi…