Chart Selection and Explode

2 posts, 0 answers
  1. Chris Thierry
    Chris Thierry avatar
    138 posts
    Member since:
    Jun 2010

    Posted 11 Aug 2010 Link to this post

    Hi, I have two question related to charts

    1. In the demo first look when I click in a barline chart the item is select with a border, can I do the same with a single barline char? because it doesn't work, I'm using this:

    SeriesMapping seriesMapping = new SeriesMapping();


    seriesMapping.SeriesDefinition =


    new BarSeriesDefinition();


    seriesMapping.SeriesDefinition.InteractivitySettings.HoverScope =






    seriesMapping.SeriesDefinition.InteractivitySettings.SelectionScope =






    seriesMapping.SeriesDefinition.InteractivitySettings.SelectionMode =






    seriesMapping.SeriesDefinition.ShowItemToolTips =




    seriesMapping.SeriesDefinition.ItemToolTipFormat =




    "#VAL{#,###,###,##0$}"; //"#Y$";




    seriesMapping.SeriesDefinition.Appearance.Fill =


    new SolidColorBrush(Color.FromArgb(200, 248, 152, 29));


    seriesMapping.SeriesDefinition.ItemLabelFormat =




    "#VAL{#,###,###,##0$}"; //"#Y$";





    yMapping = new ItemMapping("quantity", DataPointMember.YValue);






    ItemMapping catMapping = new ItemMapping("period", DataPointMember.XCategory);




    chart_Months.DefaultView.ChartArea.ZoomScrollSettingsX.ScrollMode =




    chart_Months.DefaultView.ChartArea.ZoomScrollSettingsX.MinZoomRange = _minZoomRange;



    chart_Months.DefaultView.ChartArea.ZoomScrollSettingsX.PropertyChanged += ZoomScrollSettingsX_PropertyChanged;



    chart_Months.ItemsSource = e.Result.ToList();

    2. Can I make a pie chart with an item already exploded without doing click?

    Thank you.

    For my first question I realized when I'm using ZoomScrollSettingsX the selected item border is not working. Is there any way to identify the selectd item?














  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 16 Aug 2010 Link to this post

    Hi Chris,

    Indeed we must admit that the selection interactivity did not work properly in the official Q2 2010 release and no selection border was visible. Our developers have addressed the erroneous behavior for the service pack that was released last week and we would suggest you to download the new version from your Client.Net account.

    Note, however, that selection persistence is not supported over zoom / scroll actions at the moment i.e. if you select an item and then scroll the chart a bit, the selection will be lost.

    As for your other question -- currently this is not supported but we are planning to extend the Interactivity API and possibly add some events for the next Q3 2010 release of the control.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top