How to get an activity graph and stats for vehicles?
Hello,
I have in a dataTable, the history of location and status for a vehicle:
When it is moving, i have a record with timestamp, location and eventType=Drive.
When the vehicle stops i have a record with timestamp, location and eventType=Stop.
It is not obvious to get stats from such data, so can someone help to answer the following ?
I need to extract from this:
* % of time vehicle was driving vs stopped
* get a graph with average speed when vehicule was not stopped
* get a graph like this one to display for each vehicle when he was used, and display in blue/green/yellow based on average seed.
* Display a graph that display for a specific day

