Skip to content

Typings - RadialLinearScaleOptions ticks property does not have explicit interface defined #9907

@GabrielMancik

Description

@GabrielMancik
ticks: TickOptions & {
	/**
	 * The Intl.NumberFormat options used by the default label formatter
	 */
	format: Intl.NumberFormatOptions;

	/**
	 * Maximum number of ticks and gridlines to show.
	 * @default 11
	 */
	maxTicksLimit: number;

	/**
	 * if defined and stepSize is not specified, the step size will be rounded to this many decimal places.
	 */
	precision: number;

	/**
	 * User defined fixed step size for the scale.
	 */
	stepSize: number;

	/**
	 * User defined number of ticks
	 */
	count: number;
};

CartesianScaleOptions type has the same problem.

Possible Solution

Create CartesianScaleTickOptions and RadialLinearScaleTickOptions types/interfaces

Environment

  • Chart.js version: 3.6.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions