Using a BarSeries with VerticalAxis = CategoricalAxis and HorizontalAxis = LinearAxis. PlotMode = BetweenTicks or OnTicksPadded.
I am trying to have a minimum bar size so that the Category labels do no overlap (look nice) when the cart contains lots of data.
I achieve this by setting the PanMode to Vertical, the ZoomMode to None and adjusting the Zoom on LayoutUpdated.
Chart.Zoom = new Size(1, (MinGroupPixels(i.e. 16) / (PlotAreaClip.Height / Items.Count));
I only set the Zoom when it changes.
This gives me a chart with a vertical scroll bar (no user zooming).
For some Zoom values / Heights, the first Y label is not rendered. IOW, if the scroll thumb is at the bottom, there is no label for the bottom bar (some may see this as the last label?).
The bar is drawn fine and it appears that the space from the horizontal axis is the same whether the label is drawn or not.
I do not want PlotMode = OnTicks because the first and last bars are clipped. That does not look good.
I have tried rounding the zoom value to 2 decimal places - it did not help.
I have been aware of this issue for many years. I cannot find messages / etc. that address it. I thought that it would be fixed in this version (2016_1_112)
Please let me know the location of the code that causes the label to not be visible.
Is there a workaround for this?
I have attached two pngs - one with the label and one showing the label missing. Both were scrolled completely to the bottom.