Reputation: 11
Is there any way to change location and/or orientation of Y-Axis title location in WPF Chart Toolkit ?
I need to move and rotate title like on the picture: Place where I need the rotated title
Upvotes: 0
Views: 735
Reputation: 573
I hope this helps:
Considering you have added the toolkit as:
xmlns:DVC="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
Then adding this inside your /DVC:Chart> control might show similar orientation as in the pic shared:
<DVC:Chart.Axes>
<DVC:LinearAxis Interval="10" Orientation="X" ShowGridLines="True" Title="Pressure (Torr)"/>
<DVC:LinearAxis Interval="100" Orientation="Y" Location="Top" ShowGridLines="True" Title="Pumping Speed"/>
</DVC:Chart.Axes>
Upvotes: 1