Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1886
Axis Label Binding
posted

I am trying to bind the Label of a XamDataChart

<ig:NumericYAxis x:Name="y1Axis" Label= "{Binding Y1Axis.LabelFormat, Mode=OneWay}" >

   <ig:NumericYAxis.LabelSettings>

</ig:NumericYAxis>

I hard code the property to "{}{:F3}"

When executed, this caused the label to output twice  ( "1234.5671234.567" )

 

but if I change the xaml to

<ig:NumericYAxis x:Name="y1Axis" Label= "{}{:F3}" >

   <ig:NumericYAxis.LabelSettings>

</ig:NumericYAxis>

 

I get "1234.567"

 

What is causing the label to get formatted twice when its bound?