
Security News
Google’s OSV Fix Just Added 500+ New Advisories — All Thanks to One Small Policy Change
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
@visactor/univer-vchart-plugin
Advanced tools
English | 简体中文
VChart is a chart component library within the VisActor visualization system. Univer is an open-source Office suite. Using the univer-vchart-plugin, you can easily create chart overlays.
# npm
$ npm install @visactor/univer-vchart-plugin
# yarn
$ yarn add @visactor/univer-vchart-plugin
import {
UniverVChartPlugin,
CREATE_VCHART_COMMAND_ID,
} from "@visactor/univer-vchart-plugin";
export function setupUniver() {
const univer = new Univer({
theme: defaultTheme,
locale: LocaleType.EN_US,
locales: {
[LocaleType.EN_US]: enUS,
},
});
univer.registerPlugin(UniverVChartPlugin);
}
export function setupVChartDemo($toolbar: HTMLElement, univerAPI: FUniver) {
const $button = document.createElement("a");
$button.textContent = "Create vchart demo";
$toolbar.appendChild($button);
$button.addEventListener("click", async () => {
if (!univerAPI) throw new Error("univerAPI is not defined");
const activeWorkbook = univerAPI.getActiveWorkbook();
if (!activeWorkbook) throw new Error("activeWorkbook is not defined");
const activeSheet = activeWorkbook.getActiveSheet();
if (!activeSheet) throw new Error("activeSheet is not defined");
await univerAPI.executeCommand(CREATE_VCHART_COMMAND_ID, {
spec: {
type: "line",
data: {
values: [
{
time: "2:00",
value: 8,
},
{
time: "4:00",
value: 9,
},
{
time: "6:00",
value: 11,
},
{
time: "8:00",
value: 14,
},
{
time: "10:00",
value: 16,
},
{
time: "12:00",
value: 17,
},
{
time: "14:00",
value: 17,
},
{
time: "16:00",
value: 16,
},
{
time: "18:00",
value: 15,
},
],
},
xField: "time",
yField: "value",
},
});
});
}
If you would like to contribute, please read the Code of Conduct and the Contribution Guide first.
Small streams make big rivers!
FAQs
<a href="https://github
The npm package @visactor/univer-vchart-plugin receives a total of 2 weekly downloads. As such, @visactor/univer-vchart-plugin popularity was classified as not popular.
We found that @visactor/univer-vchart-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
Research
/Security News
175 malicious npm packages (26k+ downloads) used unpkg CDN to host redirect scripts for a credential-phishing campaign targeting 135+ organizations worldwide.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.