Skip to content
Snippets Groups Projects
Commit fc8141ad authored by timmolter's avatar timmolter
Browse files

rename

parent cfe616a4
Branches
No related tags found
No related merge requests found
......@@ -293,13 +293,13 @@ public class Chart {
this.chartLegend.font = font;
}
public void setAxisLabelsFont(Font font) {
public void setAxisTitleFont(Font font) {
this.axisPair.xAxis.axisTitle.font = font;
this.axisPair.yAxis.axisTitle.font = font;
}
public void setTickLabelsFont(Font font) {
public void setTickLabelFont(Font font) {
this.axisPair.xAxis.axisTick.axisTickLabels.font = font;
this.axisPair.yAxis.axisTick.axisTickLabels.font = font;
......
......@@ -68,9 +68,9 @@ public class Example9 {
chart.setFontColor(Color.MAGENTA);
chart.setTitleFont(new Font(Font.MONOSPACED, Font.BOLD, 24));
chart.setLegendFont(new Font(Font.SERIF, Font.PLAIN, 18));
chart.setAxisLabelsFont(new Font(Font.SANS_SERIF, Font.ITALIC, 18));
chart.setTickLabelsFont(new Font(Font.SANS_SERIF, Font.ITALIC, 18));
chart.setTickLabelsFont(new Font(Font.SERIF, Font.PLAIN, 11));
chart.setAxisTitleFont(new Font(Font.SANS_SERIF, Font.ITALIC, 18));
chart.setTickLabelFont(new Font(Font.SANS_SERIF, Font.ITALIC, 18));
chart.setTickLabelFont(new Font(Font.SERIF, Font.PLAIN, 11));
chart.setDateFormatter("dd-MMM");
chart.setDecmialFormatter("#.000");
chart.setLocale(Locale.GERMAN);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment