VEH-11: Split fuel types in charts



Issue Information

Issue Type: Task
 
Priority: Major
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: VehMan (VEH)
Resolution: Done (2014-01-12 16:25:28)
Target version: 1.0.2,
Components: Charts ,
Labels: Charts,

Created: 2013-10-19 14:29:14
Time Spent Working


Description
The charts currently assume that all fuel is of the same type (e.g. petrol). The fueltype needs to be pulled in from the relevant vehicle.

Affects the historic fuel-price chart in particular, need to create a second series for Diesel (and possibly one for LPG).


Subtasks

VEH-66: Split fuel types in pChart
Toggle State Changes

Activity


btasker added '1.0.2' to Fix Version
btasker removed '1.0.1' from Fix Version
btasker changed status from 'Open' to 'In Progress'
Will use a SELECT DISTINCT on the fuel-types a user has against their vehicles to identify which Series' need to be displayed. Will need to adjust the chart to allow a multi-series line chart (also need to ensure no marking where data not available).
Commit c3e9552 implements the change. Tested and live on the production API as the testing API wasn't being responsive.
btasker changed status from 'In Progress' to 'Resolved'
btasker added 'Done' to resolution
Re-opened for regression testing following implementation of VEH-66
btasker removed 'Done' from resolution
btasker changed status from 'Resolved' to 'Reopened'
Google charts all display as expected, including the changes made in this FR.
btasker changed status from 'Reopened' to 'Resolved'
btasker added 'Done' to resolution
btasker changed status from 'Resolved' to 'Closed'