Android 如何使用afreechart api创建折线图?
我是一个新的自由图表api。我用这个创建了饼图和柱状图,但我不知道如何用这个api创建折线图Android 如何使用afreechart api创建折线图?,android,Android,我是一个新的自由图表api。我用这个创建了饼图和柱状图,但我不知道如何用这个api创建折线图 AFreeChart chart = ChartFactory.createLineChart ( "Line Chart Demo", // title "Date", // x-axis label "Price Per U
AFreeChart chart = ChartFactory.createLineChart
(
"Line Chart Demo", // title
"Date", // x-axis label
"Price Per Unit", // y-axis label
dataset, // data (how to create this dataset)
PlotOrientation.VERTICAL,
true, // create legend?
true, // generate tooltips?
false // generate URLs?
);
查看afreechart@Fabian开发者的演示代码:折线图bro没有演示。这就是为什么我把问题贴在这里。。