New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dashbi-widget-chart

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dashbi-widget-chart

Dashbi widget that displays chart using chartist.js

  • 0.1.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

dashbi-widget-chart

Dashbi widget that displays chart using chartist.js

screenshot

Usage

Install

npm install --save dashbi-widget-chart

Register

Dashbi should detect and auto-register widget.

Configuration

NameTypeDescription
typeStringType of chart. Options: Line, Bar, Chart
useStateKeyStringWhich state key should be used for data presentation
optionsObjectAdditional chartist.js options

Example

Lets' say that some-data-provider provides state which has key randomNumber:

dashbiLayout.addWidget({
  name: 'chart',
  title: 'My Line Chart',
  params: {
    type: 'Line',
    useStateKey: 'randomNumber',
    options: {
      low: 0,
      hight: 1000
    }
  },
  source: {
    name: 'some-data-provider'
  }
});

Keywords

FAQs

Package last updated on 30 Aug 2019

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc