Generic Class


An object representing a histogram of data values of the same type of unit.


class MXHistogram<UnitType> : NSObject where UnitType : Unit


A histogram measures the number of times a data point for a variable falls into a specific range of possible values within a set of data. Usually, histograms are depicted as bar charts, in which the each bar represents a range of values, and the height of each bar represents the number of times the value of the variable falls within a particular range. In this class, each bar is represented by a bucket.


Reading the Buckets

var bucketEnumerator: NSEnumerator

An enumerator for the buckets containing the data in the histogram.

var totalBucketCount: Int

The total number of buckets in the histogram.

class MXHistogramBucket

An object representing a bucket of data in a histogram.


Inherits From

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software