Telerik blogs
  • Desktop WPF

    RadChart for Silverlight/WPF Empty Values support

    The Q1 2011 version of the Chart control will include code to support empty/null values. There are many scenarios, in which the property of an object, or a collection of objects, to which the Chart is data bound, is null. The following code example demonstrates one such case: The null values above are hard-coded, however they convey the general idea of null values being returned by the data layer, to which the Chart is data bound. Internally, there are three ways in which these null values can be handled. This is specified by a property in the control, for the series...
    February 25, 2011
  • Web ASP.NET MVC

    RadChart for Silverlight in ASP.NET MVC Application

    The purpose of this blog post is to show how to incorporate RadChart for Silverlight in an ASP.NET MVC application. Manol has already shown how to do this for ASP.NET and things are not much different for ASP.NET MVC. Let’s start with a simple Silverlight application with a single RadChart. For simplicity, I will populate it with a list of numbers, you can also use any of the techniques, supported by RadChart. The code is as simple as this XAML: <telerik:RadChart x:Name="RadChart1" /> And C#: RadChart1.ItemsSource = new double[] { 3d, 4d, 6d };   I will create two write-only properties of the Silverlight user control -- ShowItemLabels and SeriesType. They are marked with  ScriptableMemberAttribute so...
    October 01, 2010
  • Desktop WPF

    WPF / Silverlight: Integrating RadChart and RadContextMenu Controls

    One common request that we are receiving recently is how to integrate the RadChart and RadContextMenu controls so they play nicely together. A typical real-life scenario would probably require that each ChartItem should display different (context-specific) set of menu items. In order to address the increased interest in this functionality we decided to add a new integration example for the Q1 2010 release but for those of you that need something working right now, here is a quick overview of the required steps to add context-specific menu to Bar series items in RadChart (this can be applied to any series...
    February 08, 2010