Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@times-visuals/poll-of-polls

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@times-visuals/poll-of-polls

Poll of polls component

latest
npmnpm
Version
1.2.0
Version published
Maintainers
2
Created
Source

Poll of polls

This is the description for the component

Installation

# Yarn
$ yarn add @times-visuals/poll-of-polls

# npm
$ npm add @times-visuals/poll-of-polls

Usage

Required parameters:

  • data: an array of objects containing a date and a poll for a party
  • averages: an array of objects containing a date and an average
  • parties: an array of objects containing a list of parties and colours associated with them
import PollOfPolls from "@times-visuals/poll-of-polls";

<PollOfPolls
  data={data}
  averages={averages}
  parties={parties}
  yDomain={[0, 100]}
  circleRadius={2}
  startDate="2018-06-01"
  endDate="2018-09-10"
  dataSource="Times research"
/>;

FAQs

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