Create class TextChart