Completed
Last Updated: 18 Oct 2018 11:42 by ADMIN
ADMIN
Rosy Topchiyska
Created on: 07 Feb 2017 11:28
Category: Chart
Type: Bug Report
7
Chart: Issue with BindingContext of chart axes and grid
The chart BindingContext does not propagate correctly to some of its children, e.g. axes and grid.

Available in the R3 2018 SP release.
6 comments
ADMIN
Yana
Posted on: 05 Jul 2018 11:38
Hi Jannik,

Thank you for sharing the workaround you're using.

Regards,
Yana
Jannik
Posted on: 15 May 2018 18:09
There is a hack / workaround, which I implemented:

    public class ExtDateTimeContinuousAxis : DateTimeContinuousAxis
    {
        protected override void OnParentSet()
        {
            base.OnParentSet();

            if (Parent == null)
            {
                return;
            }
            
            Parent.BindingContextChanged += ParentOnBindingContextChanged;
        }

        ~ExtDateTimeContinuousAxis()
        {
            if (Parent == null)
            {
                return;
            }

            Parent.BindingContextChanged -= ParentOnBindingContextChanged;
        }

        private void ParentOnBindingContextChanged(object sender, EventArgs eventArgs)
        {
            var parentBindingContext = Parent.BindingContext;
            BindingContext = parentBindingContext;
        }
    }

ADMIN
Stefan Nenchev
Posted on: 06 Mar 2018 13:58
Hello Michel,

Unfortunately, we cannot provide more exact information on when we will review the behavior and, hopefully, come up with a fix as currently we are working on other items with higher priority. Please, keep following the item so that you are automatically notified when there is any progress.

Michel
Posted on: 05 Mar 2018 13:32
I need to be able to bind axes properties which is a big issue for me. This has been reported almost one year ago, is there any news on this? Telerik has some really nice controls but issues like these make them unusable for me.
Matt
Posted on: 17 May 2017 22:10
Any update on schedule?
Blake
Posted on: 04 May 2017 05:53
I assume this problem exists for the UWP version as I'm having a similar problem with setting the LabelFormat in a UWP app.