Closed xiaolei1998 closed 3 years ago
hello!
I am using the date plot and trying to display the date on x axis, but the date is overlapped, I don't know how to modify this.
LineGraphSeries<DataPoint> series = new LineGraphSeries<>(arrayDataPoints); series.setDrawDataPoints(true); plot.addSeries(series); plot.getGridLabelRenderer().setLabelFormatter(new DateAsXAxisLabelFormatter(DisplayExpTimePlot.this)); plot.getGridLabelRenderer().setNumHorizontalLabels(plotValue.size()-1); plot.getViewport().setXAxisBoundsManual(true); plot.getGridLabelRenderer().setHumanRounding(false); GridLabelRenderer glr = plot.getGridLabelRenderer(); glr.setPadding(52);
looking forward for your reply.
hello!
I am using the date plot and trying to display the date on x axis, but the date is overlapped, I don't know how to modify this.
looking forward for your reply.