Telerik blogs
  • Desktop WPF

    WPF/Silverlight : RadChart - solving issues with the X axis labels.

    As you may already know, since the invention of the chart control there are some cornerstone cases when most of the implementations do not perform well. One of these is the arrangement of labels on the horizontal axis and especially when placed in a limited space(overlapping labels). This problem is clearly visible on the image below: Several ways to work around this problem have been developed and during the last months we put efforts to implement most of them. Our recent Q2.2009 release of RadChart for WPF/SL offers the following AxisX properties: LabelStep - when set to n, this property will make only...
    July 14, 2009
  • Web

    Silverlight Chart in 3D

    I might be a little late with blogging on the 3-dimensional capabilities of our Silverlight Chart, but you know what people say: better late than never. So, for those of you who did not get the chance to take a look, here is direct link to our online examples: http://demos.telerik.com/silverlight/#Chart/Gallery3D/Bar   Notice that the Flexible API example now has a checkbox “3D” that switches to Silverlight 3D (as in the WPF counterpart). If you already have experience with our Silverlight 2D charts, you will notice the common API, now available for the 3D chart as well.   Here are some screenshots:   The available Silverlight 3D chart types...
    July 13, 2009
  • Web

    RadioButton and CheckBox Menu Items with RadMenu for Silverlight

    RadMenu for Silverlight supports simple checkable items, but still does not support radio button items. This feature is scheduled for development and most probably will come with Q3 2009, but until then you have to code it by yourself. Fortunately, this is relatively easy with a proper ViewModel, that contains the radio-button logic: The CommandItem class contains the properties and the logic for a RadMenuItem. It implements INotifyPropertyChanged and its most important property is IsChecked: public bool IsChecked { get { return this.isChecked; } set ...
    June 19, 2009
  • Web

    Scrollable Menu – Workaround with a Multi-Column Menu and RadControls for Silverlight

    RadMenu and RadContextMenu for Silverlight cannot automatically scroll their items if their height exceeds a certain height. We are planning to implement this feature in the near future, but at the moment there are two workarounds for the developers: override the RadMenu control template and add ScrollViewer controls around the ItemsPresenters, or customize the ItemsPanel of the RadMenuItem controls, so the sub-items are displayed in columns. The second option is much easier and looks good enough: The main idea is to replace the RadMenuItem ItemsPanel, that is a StackPanel by default, with a WrapPanel. To set the ItemsPanel property of all...
    June 19, 2009
  • Desktop WPF

    WPF / Silverlight: RadChart and BindableLinq

    RadChart data binding provides a simple and consistent way for applications to present and interact with data. In many cases the data that you work with is a collection of objects and you need the UI to update automatically whenever the datasource gets updated. WPF and Silverlight provide a built-in implementation of a data collection that implements the INotifyCollectionChanged interface and achieves the desired effect. However, when you try to blend the ObservableCollection<T> implementation with some LINQ queries, the situation gets a bit more complicated and most probably the out-of-the-box result will not match your expectations. Let us take the...
    June 17, 2009