make function call virtual; renamed AddLine(bool) to AppendBar(bool)