Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-calendar-heatmap

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-calendar-heatmap

A calendar heatmap Vuejs component built on SVG, inspired by github's contribution calendar graph

  • 0.3.0
  • npm
  • Socket score

Version published
Weekly downloads
577
increased by13.58%
Maintainers
1
Weekly downloads
 
Created
Source

vue-calendar-heatmap

work in progress

A calendar heatmap Vuejs component built on SVG, inspired by github's contribution calendar graph

props

keysTypeRequiredExemple
values valuesArray of objects with date and count keys. date values can be a date parseable string, a millisecond timestamp, or a Date object. count value should be a number.true:values="[{ date: '2018-9-22', count: 6 }, ...]"
endDate end-dateCan be a date parseable string, a millisecond timestamp, or a Date object. The calendar will start automatically one year before this date.trueendDate="2018-9-22"
colorRange color-rangeA Array of 5 strings which represents the colors of the progression. The color at colorRange[0] will always represent the values for a count: 0. The others are automatically distributed over the maximum value of count, unless you specify max props.false. Default value is equal to the example:range-color="['ebedf0', '#ebedf0', '#c0ddf9', '#73b3f3', '#3886e1', '#17459e']"
max maxAny number which should be the max colorfalse:max="10"
tooltip tooltipBoolean for enabble/disable tooltip on square hover. true by defaultfalse:tooltip="false"
tooltipUnit tooltip-unitString representing heatmap's unit of measure. His value is "contributions" by default.falsetooltip-unit="stars"

FAQs

Package last updated on 29 May 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc