Skip to content

static "defaults" property missing on Chart #8306

Closed
@elitastic

Description

@elitastic

According to the migration/documentation of ChartJs 3 there should be a static property "defaults" on the "Chart" class, but this is not defined in Typescript (tried in beta7 / beta8)? Is there a typings problem?

import { Chart } from 'chart.js';
Chart.defaults.defaultFontFamily = 'Open Sans'; // --> "defaults" ist not available

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions