Implemented variable reading count for chart and chartdisplay