From: Nathaniel G. A. <nat...@ya...> - 2004-03-08 22:37:31
|
did you look at the SwingDemo in the demo package? --- David Han <Dav...@na...> wrote: > 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 > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com |