Hello,
I have a nice OxyPlot setup with bar series and category axis on a WinForm. The thing is those bars jump up after I minimize and restore my form. I traced this down to this line in Render() method in BarSeriesBase.cs:
Thanks!
MK
I have a nice OxyPlot setup with bar series and category axis on a WinForm. The thing is those bars jump up after I minimize and restore my form. I traced this down to this line in Render() method in BarSeriesBase.cs:
if (!this.IsStacked)
{
culprit -> categoryAxis.BarOffset[categoryIndex] += actualBarWidth;
}
I don't know why this code is needed as it keeps on incrementing BarOffset values with each Render call, but that doesn't always make a visual difference. Nevertheless, once commented out bars stay where I intended them to be. I can provide more context if required. If possible, I'd like to request a fix.Thanks!
MK