Odin Szary
Odin Szary

Reputation: 11

wpf toolkit chart axis title location

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

Answers (1)

praty
praty

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

Related Questions