Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
@pinpoint-fe/scatter-chart
Advanced tools
Readme
latest version: v1.5.1
npm install @pinpoint-fe/scatter-chart
or
yarn add @pinpoint-fe/scatter-chart
import { ScatterChart } from '@pinpoint-fe/scatter-chart';
const SC = new ScatterChart(
document.getElementById('scatterWrapper'),
{
axis: {
x: {
min: 1669103462000,
max: 1669103509335,
tick: {
format: (value) => `
${String(date.getHours()).padStart(2, '0')}:
${String(date.getMinutes()).padStart(2, '0')}:
${String(date.getSeconds()).padStart(2, '0')}
`;,
}
},
y: {
min: 0,
max: 10000,
tick: {
format: (value) => value.toLocaleString(),
}
}
},
data: [
{
type: 'success',
color: 'rgba(61, 207, 168, 0.5)',
priority: 1,
},
{
type: 'fail',
color: 'rgba(235, 71, 71, 0.5)',
priority: 2,
},
],
legend: {
formatLabel: (label) => label.toUpperCase(),
}
}
);
SC.render(data);
Params | Type | Required | Description |
---|---|---|---|
wrapper | HTMLElement | ✔️ | Wrapper element where chart will be rendered |
options | ScatterChartOption | ✔️ | ScatterChart options |
FAQs
Open-source scatter-chart library written in pure JS based on canvas api, Specifically designed for visualizing request and response patterns over time
The npm package @pinpoint-fe/scatter-chart receives a total of 81 weekly downloads. As such, @pinpoint-fe/scatter-chart popularity was classified as not popular.
We found that @pinpoint-fe/scatter-chart demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.