Skip to content
Snippets Groups Projects
Commit 2c12c9e5 authored by Carlos Lopez-Camey's avatar Carlos Lopez-Camey
Browse files

Adds Chart getter to XChartPanel. Useful for changing the limits or style while updating series.

parent d416a268
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,10 @@ public class XChartPanel extends JPanel {
g2d.dispose();
}
public Chart getChart() {
return this.chart;
}
@Override
public Dimension getPreferredSize() {
......@@ -308,4 +312,4 @@ public class XChartPanel extends JPanel {
return series;
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment