
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
tsdev-react-donut-chart
Advanced tools
ReactJS component for data visualization
npm install --save-dev tsdev-react-donut-chart
import { TsdevDonutChart } from 'tsdev-react-donut-chart';
...
<TsdevDonutChart id="my-chart">
| name | type | default | required |
|---|---|---|---|
| backgroundColor | string | 'transparent' | no |
| backgroundColorLegend | string | 'transparent' | no |
| colorRange | array | >>> read more >>> | no |
| dataSet | array | >>> read more >>> | no |
| decimals | number | 2 | no |
| endAngle | number | 360 | no |
| height | number | 250 | no |
| id | string | 'tsdev-donut-chart-{Date.now()}' | YES |
| innerLabelColor | string | '#ffffff' | no |
| innerLabelSize | number | 12 | no |
| innerLabelType | string | 'value' | no |
| innerRadius | number | 60 | no |
| labelLineColor | string | '#000000' | no |
| labelLineDotColor | string | '#000000' | no |
| labelLineDotRadius | number | 2 | no |
| labelLineWidth | number | 1 | no |
| legendColor | string | 'transparent' | no |
| legendHeight | number | 70 | no |
| onSegmentClick | func | >>> read more >>> | no |
| outerLabelColor | string | '#000000' | no |
| outerLabelOffset | number | 5 | no |
| outerLabelSize | number | 12 | no |
| outerLabelType | string | 'label' | no |
| radius | number | 120 | no |
| rotation | number | 0 | no |
| showInnerLabels | bool | false | no |
| showLabelLine | bool | false | no |
| showLabelLineDot | bool | false | no |
| showLegend | bool | false | no |
| showOuterLabels | bool | false | no |
| showSortedValues | bool | false | no |
| showTooltips | bool | false | no |
| sortDirection | string | 'asc' | no |
| startAngle | number | 0 | no |
| strokeColor | string | '#ffffff' | no |
| strokeWidth | number | 1 | no |
| subClass | string | '' | no |
| tooltipType | string | 'labelValue' | no |
| width | number | 250 | no |
| xOffset | number | 0 | no |
| yOffset | number | 0 | no |
onSegmentClick(obj) => {
console.log(obj);
}
colorRange: ['#85c7f1', '#549bf1', '#3329eb', '#0800a2', '#000000']
// !!! AVOID negative values !!!
dataSet: [
{
label: 'one',
value: 10
},
{
label: 'two',
value: 40
},
{
label: 'three',
value: 20
},
{
label: 'four',
value: 20
},
{
label: 'five',
value: 10
}
]
value
label
labelValue
percent
labelPercent
value
label
labelValue
percent
labelPercent
value
label
labelValue
percent
labelPercent
FAQs
ReactJS chart component
We found that tsdev-react-donut-chart demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.