void SetOtherThreshold( double dPercentage )
double dPercentage
The percentage (0 to 100) of the total number of observations below which observations are placed in the "Others" category.
A bar chart displays the frequency of values for a categorical variable. If a category contains relatively few observations, that category is merged into a special category called "Others". The default threshold at which this occurs is 2 percent, which means that if a category contains fewer than 2 percent of the total number of observations, that category is merged into the "Others" category.
animals = { "Cat", "Dog", "Cat", "Cat", "Iguana", "Dog", "Bird" }; declare DataObject dobj = DataObject.Create( "Pets", "Animal", animals ); declare BarChart plot = BarChart.Create( dobj, "Animal", false ); plot.SetOtherThreshold( 20 ); plot.ShowWindow();