Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I have a Barchart in my Silverlight Application which are binded with two values i.e date is showing in the Y-Axis and Records are showing in X-Axis..But i want to show Date in X-axis and Records in Y-Axis.Can any one help on this please.
Here i am binded like this.


HTML
<chartingtoolkit:chart horizontalalignment="Left" margin="28,287,0,0" name="LoadedRecords" verticalalignment="Top" width="439" height="180" xmlns:chartingtoolkit="#unknown">
<chartingtoolkit:chart.series>
<chartingtoolkit:barseries title="Loaded Records" itemssource="{Binding}" independentvaluebinding="{Binding RowAddedOn}" dependentvaluebinding="{Binding Records}">
</chartingtoolkit:barseries>
</chartingtoolkit:chart.series>
</chartingtoolkit:chart>



Now to Swap the Axes of the Chart With the Values!
Please help on this.

Thanks,
Prasant
Posted
Updated 18-Aug-11 19:00pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900