Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@commute/market-data-chartjs

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commute/market-data-chartjs

A library to help you render market data using ChartJS.

latest
Source
npmnpm
Version
2.3.0
Version published
Weekly downloads
13
160%
Maintainers
2
Weekly downloads
 
Created
Source

Commute Market Data Render with ChartJS

A library to help you render market data using ChartJS. This was originally developed to be used in a Webflow project, but you can use it in any other platform.

Reference

  • Requirements
  • Installation
  • How to use
  • Number Localization
  • Special Thanks

Requirements

This library requires the use of chartjs. You can add the following line inside the tag in your website:

<script async src="https://cdn.jsdelivr.net/npm/chart.js"></script>

Installation

Add the following line inside the tag in your website:

<script async src="https://cdn.jsdelivr.net/npm/@commute/market-data-chartjs@version/dist/index.js"></script>

How to use

Add the following line inside the tag in your website:

<script async src="https://cdn.jsdelivr.net/npm/@commute/market-data@version/dist/index.js"></script>

Number Localization

You can localize numbers by adding the custom attribute 'data-number' to the elements that need that utility. It will get the website's locale by using the attributes 'data-wf-locale=locale' or 'data-locale=locale'. For example, if your HTML has the 'data-wf-locale=es-AR' attribute, your locale would be 'es-AR'.

Special Thanks

A huge thank you to Finsweet for providing the foundation of this project with Finsweet Developer Starter. 💪🏽

Plase refer to the original project for extensive documentation.

FAQs

Package last updated on 23 May 2025

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