You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@types/chartjs-plugin-colorschemes

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/chartjs-plugin-colorschemes

TypeScript definitions for chartjs-plugin-colorschemes


Version published
Weekly downloads
456
decreased by-35.04%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Installation

npm install --save @types/chartjs-plugin-colorschemes

Summary

This package contains type definitions for chartjs-plugin-colorschemes (https://nagix.github.io/chartjs-plugin-colorschemes).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chartjs-plugin-colorschemes.

index.d.ts

import * as Chart from "chart.js";

declare module "chart.js" {
    interface ChartPluginsOptions {
        colorschemes?: ColorSchemesOptions | undefined;
    }
}

export interface ColorSchemesOptions {
    scheme: string | string[];
    fillAlpha?: number | undefined;
    reverse?: boolean | undefined;
    override?: boolean | undefined;
    // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
    custom?: ((schemeColors: string[]) => string[] | void) | undefined;
}

declare const ColorSchemesPlugin: Chart.PluginServiceGlobalRegistration & Chart.PluginServiceRegistrationOptions;

export default ColorSchemesPlugin;

Additional Details

  • Last updated: Wed, 22 Nov 2023 00:24:48 GMT
  • Dependencies: @types/chart.js

Credits

These definitions were written by Dan Manastireanu.

FAQs

Package last updated on 22 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc