Posts tagged with 'financial'
In one of my earlier blog posts I dealt with using C1Chart in MVVM. I was asked if we could dynamically add and remove data series from C1Chart. My answer to that is, yes there is way and I decided to post this as another blog post since this would be a common scenario for many.
While developing user interfaces for applications it is often required to show data in either a tabular form or by using charts. And it is not unusual to show data in a combination of both chart and grid inside one container. An example is showing a progress value in a chart that is inside a datagrid cell. In this blog post I will show you how to create a chart inside a C1DataGrid using template columns. This can be done in both XAML and code behind.
When working with C1Chart in MVVM-style applications, it is sometimes possible that the chart in the view may not know the property it is binding to until runtime. For example, the C1Chart DataSeries' ValueBinding might be set during runtime. This is a trivial task unless we are using some design pattern such as MVVM. In this article I will walk you through creating dynamic axis binding in C1Chart for WPF according to MVVM.
C1Chart for WPF can be used with the MVVM design pattern. The concept applied is the same as you would use for other data-aware controls. The ViewModel should expose the collection and binding properties and all these can easily be set in XAML of the Chart view. In this article I will walk you through the basic steps to bind the chart in MVVM pattern.
Creating your app the best, cleanest way from the start is everyone's main objective when starting out or starting over. Everyone strives for that "n-tier" architecture in their application design, and by that I mean having each tier of the application in its own separate and distinct layer (presentation, data, business, etc). This architecture leads to cleaner designs and scalability because developers only have to modify or add specific layers when it comes time to change the UI screens or the underlying technology, etc. A full-blown rewrite is no longer necessary.
Most Silverlight applications access data from web services. The problems we face is that sometimes the UI controls perform poorly when handling large amounts of data, whether you're using a listbox, datagrid, chart, etc, and it also becomes impractical to try and send really large amounts of data over the wire at once. So we have to look at how we can workaround these problems to optimize our application. There are several techniques we can use, some of which are provided for free from the controls: