Create GraphViewSegment and GraphTextView classes