-- Built the structure for generic plotting of charts