How to render Axis Charts
David Han <[email protected]>
| Newsgroups | gmane.comp.krysalis.jcharts.user |
|---|---|
| Message-ID | <a05210631bc72490f7fde@[128.183.190.142]> |
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.)?
--
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click