From: David H. <Dav...@na...> - 2004-03-08 16:36:42
|
I'm a newbie with jCharts 0.7.5 and am trying to figure out how to render Axis Charts in a Java application? Below is my code and I'm wondering whether anybody sees anything I am doing wrong. The code listed below compiles fine, but it doesn't draw anything. AxisChart axisChart= new AxisChart(dataSeries, chartProperties, axisProperties, legendProperties, 400, 350); Graphics2D g2d = axisChart.getGraphics2D(); // axisChart.setGraphics2D ( (Graphics2D) this.panel.getGraphics() ); axisChart.setGraphics2D (g2d); axisChart.render(); Are there some Java application examples out there that render Axis Charts (e.g. line chart, area chart, etc.)? -- |