Search found 3 matches

by laredotornado
Thu Nov 04, 2004 9:08 pm
Forum: JFreeChart
Topic: How can I customize the x-axis of line charts?
Replies: 2
Views: 2400

I am using JDBCCategoryDataset. This is the complete fragment. JDBCCategoryDataset lineDataSet = null; Connection con; try { con = DBDaemon.getConnection(sPool); lineDataSet = new JDBCCategoryDataset(con); lineDataSet.executeQuery(sQuery); con.close(); } catch (SQLException e) { System.err.print("SQ...
by laredotornado
Thu Nov 04, 2004 4:23 pm
Forum: JFreeChart
Topic: How to generate time series chart from JDBC data?
Replies: 1
Views: 2280

How to generate time series chart from JDBC data?

Hi, I'm having trouble compiling a bit of code. I want to generate a time series chart from some a JDBCXYDataset. The code is below: JDBCXYDataset lineDataSet = null; Connection con; try { con = DBDaemon.getConnection(sPool); lineDataSet = new JDBCXYDataset(con); lineDataSet.executeQuery(sQuery); co...
by laredotornado
Wed Nov 03, 2004 8:35 pm
Forum: JFreeChart
Topic: How can I customize the x-axis of line charts?
Replies: 2
Views: 2400

How can I customize the x-axis of line charts?

Hello, I just downloaded JFreeChart 0.9.21 for my JDK 1.3 on Solaris. I create a line chart from a query that returns thousands of rows. But there are no labels whatsoever marking points along the x-axis. How can I set up just a few labels to appear? Here is my code: JDBCCategoryDataset lineDataSet ...