# @types/recharts-scale

> TypeScript definitions for recharts-scale

Latest version **1.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/recharts-scale
pnpm add @types/recharts-scale
yarn add @types/recharts-scale
bun add @types/recharts-scale
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2023-11-07 |
| First published | 2018-09-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/recharts-scale
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/recharts-scale
- npm.io page: https://npm.io/package/@types/recharts-scale

## Recent versions

- 1.0.3 (latest) — 2023-11-07
- 1.0.0 (ts2.8) — 2018-09-27
- 1.0.2 — 2023-10-18
- 1.0.1 — 2023-09-27

## README

# Installation
> `npm install --save @types/recharts-scale`

# Summary
This package contains type definitions for recharts-scale (https://github.com/recharts/recharts-scale).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/recharts-scale.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/recharts-scale/index.d.ts)
````ts
/**
 * Calculate the ticks of an interval
 * @param [minAndMax]      min: The minimum value, max: The maximum value
 * @param tickCount        The count of ticks
 * @param allowDecimals    Allow the ticks to be decimals or not - defaults to true
 */
export function getTickValues(domain: [number, number], tickCount?: number, allowDecimals?: boolean): number[];

/**
 * Calculate the ticks of an interval
 * @param [minAndMax]      min: The minimum value, max: The maximum value
 * @param tickCount        The count of ticks
 * @param allowDecimals    Allow the ticks to be decimals or not - defaults to true
 */
export function getNiceTickValues(domain: [number, number], tickCount?: number, allowDecimals?: boolean): number[];

/**
 * Calculate the ticks of an interval
 * @param [minAndMax]      min: The minimum value, max: The maximum value
 * @param tickCount        The count of ticks
 * @param allowDecimals    Allow the ticks to be decimals or not - defaults to true
 */
export function getTickValuesFixedDomain(
    domain: [number, number],
    tickCount?: number,
    allowDecimals?: boolean,
): number[];

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [John Reilly](https://github.com/johnnyreilly).

---
_Source: https://npm.io/package/@types/recharts-scale · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
