🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

chartjs-adapter-spacetime

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chartjs-adapter-spacetime

Spacetime adapter for Chart.js

1.0.1
latest
Source
npm
Version published
Weekly downloads
756
-29.01%
Maintainers
1
Weekly downloads
 
Created
Source

chartjs-adapter-spacetime

npm npm peer dependency version npm peer dependency version

Spacetime support for Chart.js TimeScale plugin.

$ npm install spacetime chartjs-adapter-spacetime

$ yarn add spacetime chartjs-adapter-spacetime

$ pnpm add spacetime chartjs-adapter-spacetime
import { Chart as ChartJS, TimeScale } from 'chart.js'

import 'chartjs-adapter-spacetime'

ChartJS.register(TimeScale)

When providing your own formats via Chart.JS options, use Spacetime's unixFmt options. Localization is not currently supported.

Some portions of this project are based on chartjs-adapter-luxon.

Keywords

spacetime

FAQs

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