List of usage examples for org.jfree.chart.ui RectangleEdge TOP
RectangleEdge TOP
To view the source code for org.jfree.chart.ui RectangleEdge TOP.
Click Source Link
From source file:mekhq.gui.FinancesTab.java
private JFreeChart createMonthlyChart(CategoryDataset dataset) { JFreeChart chart = ChartFactory.createBarChart("", // title resourceMap.getString("graphDate.text"), // x-axis label resourceMap.getString("graphCBills.text"), // y-axis label dataset);// ww w . j av a 2 s .c om chart.setBackgroundPaint(Color.WHITE); chart.getLegend().setPosition(RectangleEdge.TOP); return chart; }