Click here to Skip to main content
15,038,164 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
I am currently using the toolkit chart to display a column chart within a data template in a resource dictionary. The chart display accurately and quickly when loaded. However when the view in the window is switched to a new data template through content control data trigger bound to VM) in dictionary I get an error stating that the axes could not be determined maybe due to not setting the orientation.

XAML

<DVC:Chart.Axes>

   <DVC:Chart.LinearAxis Orientation="Y" Interval="1" Minimum="0"

etc.

If I comment out the Axes XAML I have absolutely no problem but the chart looks terrible as it goes with all default design and setting. Apologize for not posting full code but this is a work project and cannot. All data is built with Key value pair bindings.

Tanks for any help
Posted

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