<< Click to Display Table of Contents >> Navigation: Delphi HTML Report Library > Charts > Limit values count |
To make chart for top N values use series maxcount attribute, f.e.
<S type="bar" x="lastname" y="sales" maxcount="10"/>
Values will be sorted from largest to smallest and only first maxcount values will remain in chart.
For stacked charts sorting is performed by sum of stacked values.