🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@types/highcharts-ng

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/highcharts-ng

TypeScript definitions for highcharts-ng

0.0.38
ts4.5
ts4.6
ts4.7
ts4.8
ts4.9
ts5.0
ts5.1
ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
latest
Source
npm
Version published
Weekly downloads
1.1K
98.32%
Maintainers
1
Weekly downloads
 
Created
Source

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

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

Credits

These definitions were written by Scott Hatcher.

FAQs

Package last updated on 07 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts