This is a migrated thread and some comments may be shown as answers.

Cant seem to bind axis values.

1 Answer 42 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Joel asked on 10 Mar 2011, 02:24 AM
I've been playing with a bunch of different charting engines trying to find wich one is right for our project.

Doing a binding like this:

<telerik:AxisY
AutoRange="False"
MinValue="{Binding Path=AxisProp.YMin}" 
MaxValue="{Binding Path=AxisProp.YMax}" 
Step="{Binding Path=AxisProp.YTick}"    />

Seems to work, but for some reason it doesn't seem to work.

Looking at the debug information in the output window I see entries like this:
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=AxisProp.YMin; DataItem=null; target element is 'AxisY' (HashCode=65127578); target property is 'MinValue' (type 'Double')

Any idea why this is failing?

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 15 Mar 2011, 10:11 AM
Hi Joel,

This is because of a bug which is already fixed. You can try one of our LIB (latest internal builds) or just wait for the Q1 release due this week.

Regards,
Vladimir Milev
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Chart
Asked by
Joel
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or