1
votes

i asked one month ago if it's possible to make Gantt charts with an open source library on Android. Anyone helped me, so now i'm trying to create a similar graph. I receive the data from a database and i have to put this data in one graph.

I have to create where: -In the x-axis i have the time expressed in hours:minutes -In the y-axis i have the activities and i want that the graph can show when one activity is happened (for example activity1 from 07.58 to 08.02, from 14.04 to 15.01; activity2 from 12.00 to 13.25)

Gantt would be perfect, but there isn't a chart library on android for that. A solution can be: If an activity happens, i draw a horizontal bar in the exact time when it happens. So if the activity happens for more seconds, i draw an unique horizontal bar. Then i can use different colors for the activities to diversify them.

It's possible to create this chart with Achartengine or Afreechart?

1

1 Answers

1
votes

In AChartEngine, you can just add an extra line chart series for the vertical line.