Equally spread axis labels
Posted: Mon Feb 20, 2017 9:05 am
Hi,
We're experimenting with some label styles and like the fact that when using AxisLabelStyle.PointValue, axis labels are all lined up with the chart points.
We also like the fact that when using AxisLabelStyle.Value, axis labels are nicely spread along the axis. When there is not enough space, the interval between labels is increased, so that labels stay spread equally over the axis.
When there is not enough space when using AxisLabelStyle.PointValue however, individual labels are left out, depending on the available space, causing the labels not to be spread equally anymore.
What we're wondering now:
Is there an option to combine the behavior of both label styles, so that axis labels are still lined up with the chart points (AxisLabelStyle.PointValue), but when there is not enough space on the axis, to not hide individual labels, but just show 1 out of every 2, 3, 4,... labels, so that the labels are still spread nicely over the axis (AxisLabelStyle.Value)?
We're experimenting with some label styles and like the fact that when using AxisLabelStyle.PointValue, axis labels are all lined up with the chart points.
We also like the fact that when using AxisLabelStyle.Value, axis labels are nicely spread along the axis. When there is not enough space, the interval between labels is increased, so that labels stay spread equally over the axis.
When there is not enough space when using AxisLabelStyle.PointValue however, individual labels are left out, depending on the available space, causing the labels not to be spread equally anymore.
What we're wondering now:
Is there an option to combine the behavior of both label styles, so that axis labels are still lined up with the chart points (AxisLabelStyle.PointValue), but when there is not enough space on the axis, to not hide individual labels, but just show 1 out of every 2, 3, 4,... labels, so that the labels are still spread nicely over the axis (AxisLabelStyle.Value)?