Interface DataViewCategoricalValue

Represents a value of a categorical axis for one row in a data view.

interface DataViewCategoricalValue {
    leafIndex: number;
    formattedValue(separator?: string): string;
    value(): DataViewCategoricalValuePathElement[];
}

Properties

Methods

Properties

leafIndex: number

Gets the index among the leaf nodes of the associated DataViewHierarchy of this DataViewCategoricalAxis. This, for example, can be used to determine the position on a scale where to render the visual element.

Methods