added configurable limit for number of elements in a chart
Merge pull request #34 from dvayanu/master

added configurable limit for number of elements in a chart