# @types/highcharts-ng

> TypeScript definitions for highcharts-ng

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

## Install

```sh
npm install @types/highcharts-ng
pnpm add @types/highcharts-ng
yarn add @types/highcharts-ng
bun add @types/highcharts-ng
```

## 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; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.38 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51442 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@types/highcharts](https://npm.io/package/@types/highcharts.md) ^5.0.44

## Recent versions

- 0.0.38 (latest) — 2023-11-07
- 0.0.35 (ts3.6) — 2021-07-08
- 0.0.34 (ts2.8) — 2019-11-07
- 0.0.33 (ts2.3) — 2017-06-15
- 0.0.32 (ts2.0) — 2017-02-07
- 0.0.37 — 2023-10-18
- 0.0.36 — 2023-09-16
- 0.0.31 — 2016-11-04
- 0.0.30 — 2016-10-26
- 0.0.29 — 2016-09-19
- 0.0.28 — 2016-07-14
- 0.0.27-alpha — 2016-07-08
- 0.0.26-alpha — 2016-07-04
- 0.0.25-alpha — 2016-07-02
- 0.0.24-alpha — 2016-07-01
- … 5 more at https://npm.io/package/@types/highcharts-ng/versions

## README

# Installation
> `npm install --save @types/highcharts-ng`

# Summary
This package contains type definitions for highcharts-ng (https://github.com/pablojim/highcharts-ng).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/highcharts-ng.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/highcharts-ng/index.d.ts)
````ts
import { ChartObject, IndividualSeriesOptions, Options } from "highcharts";

declare global {
    interface HighChartsNGConfig {
        options: Options;
        // The below properties are watched separately for changes.

        // Series object (optional) - a list of series using normal highcharts series options.
        series?: IndividualSeriesOptions[] | undefined;
        // Title configuration (optional)
        title?: {
            text?: string | undefined;
        } | undefined;
        // Boolean to control showng loading status on chart (optional)
        // Could be a string if you want to show specific loading text.
        loading?: boolean | string | undefined;
        // Configuration for the xAxis (optional). Currently only one x axis can be dynamically controlled.
        // properties currentMin and currentMax provied 2-way binding to the chart's maximimum and minimum
        xAxis?: {
            currentMin?: number | undefined;
            currentMax?: number | undefined;
            title?: { text?: string | undefined } | undefined;
        } | undefined;
        // Whether to use HighStocks instead of HighCharts (optional). Defaults to false.
        useHighStocks?: boolean | undefined;
        // size (optional) if left out the chart will default to size of the div or something sensible.
        size?: {
            width?: number | undefined;
            height?: number | undefined;
        } | undefined;
        // function (optional) - setup some logic for the chart
        func?: ((chart: ChartObject) => void) | undefined;
        // no data text (optional) to show if all series are empty
        noData?: string | undefined;
    }

    // Instantiated Chart
    interface HighChartsNGChart extends HighChartsNGConfig {
        // This is a simple way to access all the Highcharts API that is not currently managed by this directive.
        getHighcharts(): ChartObject;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/highcharts](https://npmjs.com/package/@types/highcharts)

# Credits
These definitions were written by [Scott Hatcher](https://github.com/scatcher).

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