New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@pcgnpm/pie-chart

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pcgnpm/pie-chart

Display pie chart

latest
npmnpm
Version
1.0.0
Version published
Maintainers
2
Created
Source

#pie-chart

Usage

Simple pie chart with default currency format

<PieChart label="Mark's" data={[ {x: 1, y: 129069, dataLabel: 'Rick Murphy'}, {x: 2, y: 51596, dataLabel: 'Kathy Kimbers'}, {x: 3, y: 7961, dataLabel: 'Twaine Wayne'}, {x: 4, y: 5114, dataLabel: 'Zachary Newbs'}, {x: 5, y: 4806, dataLabel: 'Steve Smith'}, {x: 6, y: 4468, dataLabel: 'Peter Carillo'}, {x: 7, y: 1109, dataLabel: 'Mackenzie'}, ]} cutOff={3} showLegend={true} size={340} supressRest={true} labelFormatType="currency" labelFormatOptions={{ symbol: '$', thousand: ',', precision: 0, format: '%s%v', }} />

Simple pie chart with default number format

<PieChart label="Mark's" data={[ {x: 1, y: 129069, dataLabel: 'Rick Murphy'}, {x: 2, y: 51596, dataLabel: 'Kathy Kimbers'}, {x: 3, y: 7961, dataLabel: 'Twaine Wayne'}, {x: 4, y: 5114, dataLabel: 'Zachary Newbs'}, {x: 5, y: 4806, dataLabel: 'Steve Smith'}, {x: 6, y: 4468, dataLabel: 'Peter Carillo'}, {x: 7, y: 1109, dataLabel: 'Mackenzie'}, ]} cutOff={3} showLegend={true} size={340} supressRest={true} labelFormatType="number" labelFormatOptions={{ thousand: ',', precision: 0, }} />

Keywords

mobile

FAQs

Package last updated on 13 Jul 2022

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