Jasper_dataSource_CSV data source config

时间:2023-11-23 16:52:08

(1)    open eclipse Repository Explorer

Window->Show View->Other-> Repository Explorer->OK

Jasper_dataSource_CSV data source config

(2)    Data Adapters -> create Data Adapters  -> CSV file

Name -> char_stacked. (your chart name )

File/URL -> choose your local csv file.

Choose -> Use query executor mode (the report must use the CSV query language)

Click button -> Get column names from the first row of the file

Choose -> Skip the first line (the column names will be read from the first line )

Click button -> Finish

Jasper_dataSource_CSV data source config