LineSeriesDefinition Binding on Visibility

2 posts, 0 answers
  1. harald
    harald avatar
    3 posts
    Member since:
    Oct 2010

    Posted 30 Oct 2012 Link to this post


    way does the binding on the Visibility property not work? 

    below my code, I'm using RadControls for WPF Q2 2012 SP1\Binaries\WPF40\Telerik.Windows.Controls.Charting.dll


    <telerik:RadChart x:Name="RCVUtilizationAverage" Grid.Column="0" >
             <telerik:SeriesMapping LegendLabel="Plan-Auslastung" ItemsSource="{Binding PlanUtilizations}">
                       <telerik:LineSeriesDefinition ShowItemLabels="False" Visibility="{Binding PlanUtilizationsVisibility, Mode=TwoWay}" />

    private SeriesVisibility _PlanUtilizationsVisibility = SeriesVisibility.Visible;
    public SeriesVisibility PlanUtilizationsVisibility { 
        get { return _PlanUtilizationsVisibility; } 
        set { _PlanUtilizationsVisibility = value; } 

  2. Nikolay
    Nikolay avatar
    384 posts

    Posted 01 Nov 2012 Link to this post


    Please, find attached a sample application, which demonstrates how to bind the visibility of a Line series. It works as expected on our side. In case the issue persists, please, update it so that it is reproducible and send it back to us to inspect further.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top