displaying the sample chart