npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@vue-materials/heatmap-chart-block

v1.0.0

Published

v-chart 高德地图热力图

Downloads

4

Readme

heatmap-chart

简介:heatmap-chart

v-chart 高德地图热力图

HeatmapChart

settings 配置项

| 配置项 | 简介 | 类型 | 备注 | | --- | --- | --- | --- | | type | 热力图的类型 | string | 可选值:cartesian(默认值,直角坐标系), map(地图),bmap(百度地图) | | xAxisList | x 轴数据 | array | 默认取数据中的数据中的第一维度的数据 | | yAxisList | y 轴数据 | array | 默认取数据中的数据中的第二维度的数据 | | dimension | 维度 | array | 默认为 [columns[0], columns[1]] | | metrics | 指标 | string | 默认为 columns[2] | | dataType | 数据类型 | string | 可选值: KMB, normal, percent | | min | visualMap 中的最小值 | number | 默认取指标中最小的数据 | | max | visualMap 中的最大值 | number | 默认取指标中最大的数据 | | digit | 设置数据类型为percent时保留的位数 | number | 默认为2 | | key | 百度地图 access_key | string | 可由此获取 | | bmap | 百度地图配置项 | object | 参考文档配置 | | geo | 地图配置项 | object | 参考文档 | | position | 地图类型 | string | 默认为 'china' | | positionJsonLink | 地图数据源 | string | - | | beforeRegisterMap | 地图数据注册前执行的函数 | Function | 参数为地图数据,需返回地图数据 | | beforeRegisterMapOnce | 地图数据注册前执行的函数(仅执行一次) | Function | 参数为地图数据,需返回地图数据 | | specialAreas | 地图中的位置配置 | object | 将地图中的部分区域缩放到合适的位置,可以使得整个地图的显示更加好看, 用法参考文档 | | mapURLProfix | 位置请求的 URL 前缀 | string | 默认为 https://unpkg.com/[email protected]/map/json/ | | pointSize | 点大小 | number | 默认为 10 | | blurSize | 模糊大小 | number | 默认为 5 | | heatColor | visualMap 中的最大值颜色区间 | array | - | | yAxisName | y 轴名称 | string | - | | xAxisName | x 轴名称 | string | - |

备注:当不指定指标时,指标的值默认为1。