(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

MVVM Charting – Binding Multiple Series to a Visiblox Chart

(0 votes)
0 comments   /   posted by Silverlight Show on Mar 07, 2011
Tags:   mvvm , visiblox , colin-eberhardt

SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterIn this post, Colin Eberhardt describes a method of using attached properties to bind a ViewModel which contains multiple data series to a Visiblox chart without any code-behind.

Source: ScottLogic

 The Visiblox chart supports databinding in both WPF and Silverlight, where the X and Y values for each datapoint are bound to properties on an underlying model. However, there is no interface for binding a varying number of series (i.e a collection of collections). The solution provided here is similar to the one which Jeremiah Morrill published for binding multiple series to the Silverlight Toolkit charts, but with a few added extras, like series title binding and series type selection.


Comments

No comments

Add Comment

Login to comment:
  *      *       
Login with Facebook

Our News on Twitter