type StackSet … type Stack … type StackSource … type StackSlot … // Stacks returns a StackSet for the profile in rpt. func (rpt *Report) Stacks() StackSet { … } func (s *StackSet) makeInitialStacks(rpt *Report) { … } func (s *StackSet) fillPlaces() { … } func (s *StackSet) assignColors() { … } // Legend returns the list of lines to display as the legend. func (s *StackSet) Legend() []string { … }