首页 > 代码库 > jasper config CSV data source

jasper config CSV data source

(1)    open eclipse Repository Explorer

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

 技术分享

(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 config CSV data source