
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
vue-chart-heatmap
Advanced tools
A github style inspired heatmap capsuled as an easy to use vuejs component
The github style inspired calendar-heatmap capsuled as an easy to use vue.js component
A d3.js heatmap representing time series data. Inspired by Github's contribution chart
# 1. Install Vuejs heatmap
npm install --save vue-chart-heatmap
# 2. Import
import VueChartHeatmap from 'vue-chart-heatmap'
# 3. Use
<vue-chart-heatmap></vue-chart-heatmap>
selector
Any string which should be the selector, use it for multiple heatmaps on one site.
'myFirstSelector'
entries
[
{
"counting": 2070,
"created_at": "2018-06-21"
},
{
"counting": 3493,
"created_at": "2018-06-22"
}
]
color-range
['#c9ecec', '#09b3af']
tooltip-enabled
true/false
tooltip-unit
'Star'
locale
{
months: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
days: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
No: 'No',
on: 'on',
Less: 'Less',
More: 'More'
}
max
Any number which should be the max color.
on-click
A function that should be called if clicked, will receive an object as first parameter:
{
count: 123,
date: DateObject,
entry: {
counting: 123,
created_at: "2018-01-24"
// every property you pass in your entries.
}
}
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
FAQs
A github style inspired heatmap capsuled as an easy to use vuejs component
The npm package vue-chart-heatmap receives a total of 25 weekly downloads. As such, vue-chart-heatmap popularity was classified as not popular.
We found that vue-chart-heatmap 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.