Skip to content

Update context types for dataPoint changes #8384

@etimberg

Description

@etimberg

The last thing I can spot still missing is the types:

export interface ScriptableContext {
chart: Chart;
dataPoint: any;
dataIndex: number;
dataset: ChartDataset;
datasetIndex: number;
active: boolean;
}

Originally posted by @kurkle in #8318 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: typesTypescript type changes

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions