Socket
Socket
Sign inDemoInstall

vue-calendar-heatmap

Package Overview
Dependencies
10
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
1.2K
increased by204%
Maintainers
1
Created
Weekly downloads
 

Readme

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"

FAQs

Last updated on 28 May 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc