MAIDR JavaScript API
    Preparing search index...

    Represents a Highcharts chart instance. Passed to highchartsToMaidr to generate MAIDR-compatible data.

    interface HighchartsChart {
        series: HighchartsSeries[];
        xAxis: HighchartsAxis[];
        yAxis: HighchartsAxis[];
        title: { textStr?: string };
        subtitle?: { textStr?: string };
        caption?: { textStr?: string };
        container: HTMLElement;
        renderTo: HTMLElement;
        options: {
            chart?: {
                type?: string;
                inverted?: boolean;
                polar?: boolean;
                parallelCoordinates?: boolean;
            };
            plotOptions?: {
                series?: { stacking?: string };
                column?: { stacking?: string };
                bar?: { stacking?: string };
                area?: { stacking?: string };
                areaspline?: { stacking?: string };
            };
        };
        tooltip?: {
            refresh: (point: HighchartsPoint | HighchartsPoint[]) => void;
            hide: () => void;
        };
        mapView?: {
            projectedUnitsToLonLat?: (
                point: { x: number; y: number },
            ) => MapLonLat | undefined;
        };
    }
    Index

    Properties

    title: { textStr?: string }
    subtitle?: { textStr?: string }
    caption?: { textStr?: string }
    container: HTMLElement

    The .highcharts-container element created by Highcharts.

    renderTo: HTMLElement

    The user-provided render target element.

    options: {
        chart?: {
            type?: string;
            inverted?: boolean;
            polar?: boolean;
            parallelCoordinates?: boolean;
        };
        plotOptions?: {
            series?: { stacking?: string };
            column?: { stacking?: string };
            bar?: { stacking?: string };
            area?: { stacking?: string };
            areaspline?: { stacking?: string };
        };
    }
    tooltip?: {
        refresh: (point: HighchartsPoint | HighchartsPoint[]) => void;
        hide: () => void;
    }
    mapView?: {
        projectedUnitsToLonLat?: (
            point: { x: number; y: number },
        ) => MapLonLat | undefined;
    }

    The Highmaps view (v10+) — the thing that knows the projection a map is drawn through, and the only way back from where a shape sits to where it is on the globe.

    Type Declaration

    • OptionalprojectedUnitsToLonLat?: (point: { x: number; y: number }) => MapLonLat | undefined

      Turns a position in the map's projected units into degrees.

      Returns nothing on a map with no geographic projection, which is the answer MAIDR wants there: a pre-projected map's units are not degrees and must not be announced as though they were.