AFreeChart - 準備
1.AFreeChartのダウンロード
https://code.google.com/p/afreechart/downloads/list
上記URL から、
afreechart-0.0.4.jar
をダウンロードし、プロジェクトのlibsフォルダに入れる。
2.build.gradleへの追加
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:design:23.1.0'
compile files('libs/afreechart-0.0.4.jar')
}
これで準備完了。