M
marss
The text for the chart Y-axis title is to be drawn vertically. Here is
the snippet of my code.
.....
StringFormat drawFormat = new StringFormat();
drawFormat.FormatFlags = StringFormatFlags.DirectionVertical ;
//g is object of type System.Drawing.Graphics
g.DrawString("Period", font, Brushes.Black, 10, 10, drawFormat);
.....
Standard functionality allows to do that but the text is drawn from the
top to the bottom whereas I need the text to be drawn from the bottom
to the top (as it is more usual for users). How can I do it?
the snippet of my code.
.....
StringFormat drawFormat = new StringFormat();
drawFormat.FormatFlags = StringFormatFlags.DirectionVertical ;
//g is object of type System.Drawing.Graphics
g.DrawString("Period", font, Brushes.Black, 10, 10, drawFormat);
.....
Standard functionality allows to do that but the text is drawn from the
top to the bottom whereas I need the text to be drawn from the bottom
to the top (as it is more usual for users). How can I do it?