MAIDR JavaScript API
    Preparing search index...

    A wrapped data point returned by series.getPoint(index).

    interface AnyChartPoint {
        get: (field: string) => unknown;
        getIndex: () => number;
        exists: () => boolean;
        getFeatureProp?: () => unknown;
        getFeatureBounds?: () => unknown;
    }
    Index

    Properties

    get: (field: string) => unknown
    getIndex: () => number
    exists: () => boolean
    getFeatureProp?: () => unknown

    The bound geo feature's own properties, on a point of a map series.

    This is where a region's human-readable name lives: the data row carries only the id it was matched on ('US.CA'), and the name ('California') belongs to the feature the geodata declared. Absent on every non-map series, and on builds that predate the map module's point API — the region then keeps the id as its name, which is poorer but still true.

    getFeatureBounds?: () => unknown

    The drawn bounds of the bound geo feature, in the stage's pixels.

    The only handle a map offers on WHICH shape it drew for a region: AnyChart paints every feature of the geodata, not only the rows it was given, and the paths carry no id. Matching a path's own box against this is what lets a region be highlighted rather than counted off.