Skip to content

indexAxis option missing in chart.esm.d.ts #8386

Description

@jreilly-lukava

Expected Behavior

I expect that I should be able to include this option at the chart level as described in the documentation for v3.

Current Behavior

Typescript errors because the property is missing.

Possible Solution

Add something like below to the BarControllerChartOptions interface:

/**
 * The base axis of the chart. 'x' for vertical bars and 'y' for horizontal bars.
 * @default 'x'
 */
indexAxis: 'x' | 'y';

Environment

  • Chart.js version: 3.0.0-beta.10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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