Hello -
I have a FreezableCollection of DependencyObjects with the DependencyProperties [type FrameworkPropertyMetaData] xDate and yValue.
I bound it with the crosshair curso chart of the demo but the graph does not handle the notifications and is not updated when a value changes. Am I missing something ? Is there anything like DisplayMemberBinding to manage the notifications ?
Thanks,
<dxc:XYDiagram2D.Series>
<dxc:LineSeries2D x:Name="series" ArgumentScaleType="DateTime"
ArgumentDataMember="xDate" ValueDataMember="yValue"
MarkerSize="5">
<dxc:LineSeries2D.Label>
<dxc:SeriesLabel Visible="False" />
</dxc:LineSeries2D.Label>
</dxc:LineSeries2D>
</dxc:XYDiagram2D.Series>
Hello,
Thank you for contacting us. We're working on your request, but this may take us some extra time. I will get back to you once we have any results or need extra information. Thanks for your patience.
Thanks,
Valdemar
Hello Boris,
I regret to inform you that this information is insufficient for us to find the cause of the issue.
Would you please provide us with a full sample project that illustrates this issue? We will test it and do our best to find an acceptable solution for you.
Thanks,
Valdemar
Hello,
Find attached a sample. I'm using FreezableCollection after having read this reference.
http://msdn.microsoft.com/en-us/library/aa970563.aspx
"A collection property that is itself a dependency property does not automatically report changes to its subproperties. If you are creating bindings into a collection, this can prevent the binding from reporting changes, thus invalidating some data binding scenarios. However, if you use the collection type FreezableCollection(Of T) as your collection type, then subproperty changes to contained elements in the collection are properly reported, and binding works as expected."
Hello,
Thank you for your sample. Our developers will investigate it.
I will get back to you once we have any results or need extra information. Thanks for your patience.
Thanks,
Valdemar
Hello Boris,
Thank you for your sample project.
Our developers have investigated it. It looks like this issue does not relate to ChartControl. We bind a standard TextBox control to your collection, and its content is not updated either.
Please explain your main task in greater detail, and we will do our best to find an acceptable solution for you.
Thanks,
Valdemar
Hello,
Find attached a version with a standard Textbox. The binding with a standard textbox works. The binding with a chartcontrol does not. Can you check again ?
Thanks
Hello Boris,
It looks like you provided us with an old version your sample project. It does not contain the TextBox control.
Please provide us with a modified version of your project, and our developers will investigate it.
Thanks,
Valdemar
Yes indeed. My bad. Here is a version with the binding with the textbox.
Thank you
Boris
Hello Boris,
Thank you for your sample project. We will investigate it.
I will get back to you once we have any results or need extra information. Thanks for your patience.
Thanks,
Valdemar