avh4 / burndown-charts / BurndownChart

Burndown charts

view : Config -> Html msg

Show a burndown chart

See Config.


type alias Date =
( Basics.Int, Time.Month, Basics.Int )

(year, month, day)


type alias Config =
{ name : String
, color : Maybe Color
, startDate : Date
, baseline : ( Date
, EstimationMethod )
, milestones : List ( String
, Basics.Int
, Maybe Date )
, pointsRemaining : List Basics.Int 
}

Estimation method


type EstimationMethod

A burndown chart shows a baseline (or goal line) starting from the baseline date with the number of points remaining on that date to the estimated end date (with the slope of the line beind the estimated velocity).

You can specify the target date (a time-based estimate) and have the estimated velocity be calculated; or you can specify the estimated velocity (a scope-based estimate) and have the target date be calculated.

estimatedVelocity : Basics.Float -> EstimationMethod

A scope-based estimate where the estimated velocity is specified and the target date will be calculated.

targetDate : Date -> EstimationMethod

A time-based estimate where the target date is specified and the estimated velocity will be calculated.

Colors

These are the basic colors available in terezka/line-charts exposed here for convenience so you don't have to add line-charts as a direct dependency.

If you want other colors, you can use colors from LineCharts.Colors, any color you can create with avh4/elm-color, or colors from any other package that produces a Color.

red : Color

pink : Color

gold : Color

green : Color

teal : Color

cyan : Color

blue : Color

purple : Color