Number axis labels disappearing
Status: Inactive
Brought to you by:
jjsimas
I wanted to use Chart2D for a project as it looks
really good but I ran into a showstopper problem:
The number axis labels are randomly disappearing (see
screenshot). It seems to depend on the data values
and the chart size. Sometimes the labels are
disappearing when I enlarge the chart, sometimes when
I downsize it.
Is there a way to enforce painting the number axis
labels? I would really need it.
Chart without number axis labels
I have encountered the same problem placing the Chart inside a JPanel ruled with MigLayout. I have solved putting the Graph inside a sub-Jpanel with no layout manager
MyPnl = new JPanel(null);
MyPnl.add(MyLBChart2D);
and then setting directly bounds of chart
MyLBChart2D.setBounds(x, y, w, h);