提交 74200541 编写于 作者: S Serge Rider

#4209 Custom labels

上级 dc9303ac
......@@ -106,7 +106,7 @@ public class DashboardRendererTimeseries extends DashboardRendererBase {
domainAxis.setTickLabelPaint(gridColor);
domainAxis.setTickLabelFont(DEFAULT_TICK_LABEL_FONT);
domainAxis.setTickLabelInsets(RectangleInsets.ZERO_INSETS);
domainAxis.setTickUnit(new DateTickUnit(DateTickUnitType.SECOND, 15));
domainAxis.setTickUnit(new DateTickUnit(DateTickUnitType.SECOND, container.getDashboardMaxItems() / 5));
if (viewConfig != null && !viewConfig.isDomainTicksVisible()) {
domainAxis.setVisible(false);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册