Problem Axe createLineChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
herve

Problem Axe createLineChart

Post by herve » Wed Aug 21, 2002 5:23 pm

Hi,

I've the axe X is inverse.

For exemple, i've B C A and i must get
A B C.

I've to modify the file JdbcCategoryDataset.java (ArrayList)
but i've the problem always.


Thanks.
H.N.

David Gilbert

Re: Problem Axe createLineChart

Post by David Gilbert » Thu Aug 22, 2002 11:35 am

Hi Herve,

Its not completely clear to me what you mean...can you post a bit more information? Include the data returned by your query, and some code showing how you are using JdbcCategoryDataset (I've only used it briefly).

Regards,

DG.

herve

Re: Problem Axe createLineChart

Post by herve » Fri Aug 23, 2002 3:19 pm

Hi David,

I've a Table (essai) under MySQL:

col1 col2 col3 col4

A 10 20 30
B 15 30 35
C 20 30 40


I've use the example JDBCCategoryChartDemo with createLineChart
when the execute the programme:
The axe's values is inverse (C B A) i must get (A B C)

40
35
30
20
15
10
C B A


Thanks.

Locked