Visualize event chart on android afreechart

view story

http://stackoverflow.com – I have collected event data and stored the in a database with name, start time and end time. The afreechart library have an example app which I though i could use 'XY bar chart demo 07' http://afreechart.googlecode.com/svn/doc/screenshot/index.html I think that I have managed to implement it using createXYBarChart, but i can't figure out how to create the dataset. I have chosen DefaultIntervalXYDataset but i don't think is the right one? package com.dtu.applog; import org.afree.chart.AFreeChart; import org.afree.chart.ChartFactory; import org.afree.chart.axis.CategoryAxis; import org.afree. (HowTos)