We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Set Position of Value Axis Caption

Is it possible to set the position of the Value Axis Caption?

@FireWave,

Thanks for your query.

Yes, sure you may do that. Please see the following sample code snippet for your reference:
e.g
Sample code:

............
 //Set properties of valueaxis title
            chart.ValueAxis.Title.Text = "My Title1";
            chart.ValueAxis.Title.TextFont.Color = Color.Black;
            chart.ValueAxis.Title.TextFont.IsBold = true;
            chart.ValueAxis.Title.TextFont.Size = 10;
            chart.ValueAxis.Title.RotationAngle = 90;
............

Hope, this helps a bit.

I was looking to change the vertical position of where the actual label is placed.

@FireWave,

Please try using Title.Y attribute to change the position of the value axis title vertically. See the sample line of code for your reference:
e.g
Sample code:

.........
chart.ValueAxis.Title.Y = chart.ValueAxis.Title.Y - 300;//Move the Title to upwards a bit.
..........

Hope, this helps a bit.