I have a Y-Axis Label as shown here:
I am trying to position the label closer to the chart, is there any facility to do this?
I could add a Winforms Label and position it accordingly but just in case there is a better way.
I have a Y-Axis Label as shown here:
I am trying to position the label closer to the chart, is there any facility to do this?
I could add a Winforms Label and position it accordingly but just in case there is a better way.
Copyright © 2021 Jogjafile Inc.
If you are talking about the
AxisY.Title AvGkW
you can't position it other than aligning itnear, center, far
.But you can add as many
Titles
to yourChart
as you want, dock them to all four corners of the earth, um,Chart
, style them and set their offset..After you have added your
Title
like this:You can move it left and right like this:
It isn't in the specs here on MSDN but as usual it is in 1/100 of the
Chart.Size
, so setting it to50
moves theTitle
into the middle of theChartArea
.. It is anint32
strangely!You will have to play with the number depending on the size of the
Y-Labels
and the position of theY-Axis
. Values of2-7
are OK here..