Jasper_dataSource_CSV data source config

(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

 

posted @ 2016-09-01 14:05  天天好心情啊  阅读(212)  评论(0编辑  收藏  举报