Skip to content

Pie label margin doesn't exist on typing #14067

@Ovilia

Description

@Ovilia

What problem does this feature solve?

When using in TypeScript projects, series[pie].label.margin gets the following error:

Type '{ position: "outer"; alignTo: "edge"; bleedMargin: number; margin: number; }' is not assignable to type 'PieLabelOption'.
  Object literal may only specify known properties, and 'margin' does not exist in type 'PieLabelOption'.ts(2322)

But this option takes effect, so just a problem of typing.

What is expected?

No type error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdocDocument or Website related issues.enThis issue is in Englishtypescript

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions