(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
原文:http://www.cnblogs.com/liupuLearning/p/5829592.html