
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
chartjs-plugin-doughnut-innertext
Advanced tools
A ChartJS doughnut plugin. It add inner text to the center of doughnut chart.
A small, lightweight and reliable ChartJS plugin for Doughnut charts specifically. This plugin was made to be compatible with the react-chartjs-2 library, but it is available as a commonjs and umd module, as well.
npm i chartjs-plugin-doughnut-innertext
For React components:
import React, { Component } from "react";
import { Doughnut } from "react-chartjs-2";
import "chartjs-plugin-doughnut-innertext";
class App extends Component {
render() {
let data = api.get("doughnut-data");
return (
<Doughnut
options={{
// see all defaults / options below!
centerText: {
color: "#000",
value: 340,
fontSizeAdjust: 0.2 // increase font size 20% based on default font size
}
}}
data={data}
/>
);
}
}
/// default values
doughnutInnerText: {
// color of the text
color: "#000",
// text to be display in the doughnut chart center
value: 340,
//manually adjust the font size on top of the default font size
fontSizeAdjust: 0.2 // 20% larger of the default size
}
FAQs
A ChartJS doughnut plugin. It add inner text to the center of doughnut chart.
The npm package chartjs-plugin-doughnut-innertext receives a total of 648 weekly downloads. As such, chartjs-plugin-doughnut-innertext popularity was classified as not popular.
We found that chartjs-plugin-doughnut-innertext 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.