I answered a question on how to set up a Chart
to look like a regular mathematical graph, i.e. with the axes centered and with nice arrows to the top and to the right..
However I found the built-in AxisArrowStyle.Triangle to be rather big and found no way to make it smaller.
Lines - A line-shaped arrow is used for the relevant axis.
None - No arrow is used for the relevant axis.
SharpTriangle - A sharp triangular arrow is used for the relevant axis.
Triangle - A triangular arrow is used for the relevant axis.
Here is the original look of it:
So how can we fix this?
The Chart's
axis.AxisArrowStyle
enumeration doesn't let us pick a smaller arrow, only a slimmer one.So we need to draw it ourselves:
Here is a simple but effective piece of code that achieves just that: