Set limit on chart