Jump to content
RJ90

Binding Chart

Recommended Posts

RJ90

Olá!

Estou a trabalhar com charts e tenho aqui uma dúvida.

Quero fazer binding de valores através de c#.

Vejamos:

<igCA:XamChart View3D="False">
<igCA:XamChart.Series>
	<igCA:Series ChartType="Column" Fill="#0000FF" Stroke="#000000" Label="Male">
		<igCA:Series.DataPoints>
			<igCA:DataPoint Value="{Binding valueMale}" Label="Male" />
                    	</igCA:Series.DataPoints>
                </igCA:Series>
                <igCA:Series ChartType="Column" Fill="#FF00FF" Stroke="#000000" Label="Female">
                    	<igCA:Series.DataPoints>
                        	<igCA:DataPoint Value="{Binding valueFemale}" Label="Female"/>
                    	</igCA:Series.DataPoints>
                </igCA:Series>
</igCA:XamChart.Series>
</igCA:XamChart>

Ou seja, quero através de C# definir um valor em Value="{Binding valueMale}".

Cumprimentos,


Samsung 700Z5A-S01PT Samsung Ominia W

ᥡ What Else? ᥡ

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.