Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@antv/calendar-heatmap
Advanced tools
@antv/calendar-heatmap
The Calendar heatmap implemented by G2.
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
autoFit | 是否自适应宽高,默认为 true | 否 | boolean | true | - |
width | 图表宽度 | 否 | number | - | - |
height | 图表高度 | 否 | number | - | - |
data | 绘制数据 | 是 | object[] | - | - |
dateField | 数据中代表时间的字段 | 是 | string | - | - |
valueField | 数据中需要可视化的数值字段 | 是 | string | - | - |
colors | 颜色映射 | 否 | string[] | - | - |
condition | 颜色映射条件 | 否 | Function | - | 当声明 condition 时,必须同时声明 colors |
squareStyle | 方块的样式 | 否 | object | - | - |
size | 方块的大小 | 否 | number | 16 | - |
axis | 坐标轴样式 | 否 | object | - | 可配置属性: 1. visible 是否展示2. tickCount 刻度数量3. style 文本样式 |
title | 图表各个月份的标题配置 | 否 | object | - | 可配置属性: 1. visible 是否展示2. style 文本样式 |
FAQs
The Calendar heatmap implemented by G2.
The npm package @antv/calendar-heatmap receives a total of 2 weekly downloads. As such, @antv/calendar-heatmap popularity was classified as not popular.
We found that @antv/calendar-heatmap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 27 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.