Better Graphs and Statistics

From RadiusWiki

Topic: Graphs and statistics
Version: rev.2.1
Last change: 2005, October 25
Author: Nikolai, Radius

Graphs

  • RadiusCar graphs should support the landscape mode and resize appropriately by switching between landscape and portrait.
  • One graph per screen mode should be supported.
  • User should be able to filter input data for any graph by specifying the time period, car and odometer values range. Ex.: "for car No. XXX from 1.1.2005 to 31.10.2005" or "for car No. YYY between 20.000 km and 60.000 km".
  • Following graphs should be available:
    • Consumption (ex. l/100km),
    • Endurance (km/l),
    • Unit (Fuel) cost (EUR/l),
    • Cost of fill (EUR),
    • Fuel cost per 100km (EUR/100km),
    • Distance per day (km),
    • Fuel cost per day (EUR).
  • Each of the above-mentioned graph types should have it's own color (configurable).
  • Each of the above-mentioned graph types should be switchable into monthly cumulative/average values.
  • Last chosen graph type should be automatically saved - new opening of Graph window should show last used graph by default.
  • Abscissa behavior for every graph should be configurable:
    • 1st option - the distance on the graph (in pixels) between fills is equal;
    • 2nd option - the distance on the graph is proportional to time between consequent fills.
  • Ordinate maximal and minimal values should be configurable.
  • In one-graph-per-screen mode following information should be printed along with the graph: minimal, maximal and average values of selected unit.

Diagrams

  • RadiusCar should provide a diagram of cost split between different expense types.

Statistics

Statistics should be provided for selected Date or Distance range.

Statistics window should be subdivided into 3 sections and provide following information:

  • General info section
    • Selected date range
    • Selected distance range

If Date range is selected by user, Distance range should be automatically calculated by RadiusCar. And vice versa.

  • Total values section (for the range selected above)
    • Time period (days)
    • Distance (ex. km)
    • Fuel volume (ex. l)
    • Fuel expense (ex. EUR)
    • Overall expense (fuel + repairs + taxes etc., if supported)
  • Average values section (for the range selected above)
    • Fuel only
      • Consumption (ex. l/100km)
      • Endurance (ex. km/l)
      • Monthly distance (km/month)
      • Fuel cost for 100km (ex. EUR/100km)
      • Monthly cost (ex. EUR/month)
    • Overall costs
      • Overall cost of distance (ex. EUR/100km)
      • Overall monthly cost (ex. EUR/100km)