Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@types/highcharts-ng
Advanced tools
Readme
npm install --save @types/highcharts-ng
This package contains type definitions for highcharts-ng (https://github.com/pablojim/highcharts-ng).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/highcharts-ng.
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;
}
}
These definitions were written by Scott Hatcher.
FAQs
TypeScript definitions for highcharts-ng
The npm package @types/highcharts-ng receives a total of 6,769 weekly downloads. As such, @types/highcharts-ng popularity was classified as popular.
We found that @types/highcharts-ng demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.