We are using NumericAxis for the y-axis and x-axis of a bar chart. The x-axis uses a LabelProvider (to convert integers to strings) and a TickLabelStyle (to rotate the label by 270 degrees so it is vertical going from the bottom to the top). We find that sometimes the y-axis is not drawn (however, it will be drawn if the chart is resized or re-painted).
The work-around to the problem is adding spaces to the front of the shorter labels so all of the labels are all the same length. However, this work-around does not work for every case.
Have you seen this issue before and is there a better solution? Thanks!
Not seen this exact issue no, could you share a short video or some screenshots of the problem as well as the code?
You can try setting Axis.IsLabelCullingEnabled = false. Maybe the resized or long labels are being culled as they overlap.
Please login first to submit.