Socket
Book a DemoInstallSign in
Socket

@meveo-org/mv-chart

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meveo-org/mv-chart

MvChart is a Meveo chart component (based on lit-element) that renders a content chart. This is a component wrapper for [chartjs](https://www.chartjs.org/)

1.0.4
latest
Source
npmnpm
Version published
Weekly downloads
11
Maintainers
3
Weekly downloads
 
Created
Source

mv-chart

MvChart is a Meveo chart component (based on lit-element) that renders a content chart. This is a component wrapper for chartjs

Quick Start

To experiment with the MvChart component.

  • Clone this repo.

  • Serve the project from the root directory with some http server (best served with meveo itself)

  • Update the chart demo component in demo.js file

Sample usage

<mv-chart
  .type="${DOUGHNUT_CONFIG.type}"  // can be any of the chartjs chart types
  .data="${DOUGHNUT_CONFIG.data}"  // data properties are in chartjs data type
  .options="${DOUGHNUT_CONFIG.options}" // options are in chartjs options type
  .plugins="${DOUGHNUT_CONFIG.options}" // plugins are in chartjs plugins type
  .theme="${this.theme}" // theme is either "light" or "dark"
></mv-chart>

You can also check this demo

Acknowledgement

Uses chartjs library for rendering the charts

FAQs

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.