-
Notifications
You must be signed in to change notification settings - Fork 787
类参考
Kai Ni edited this page Jul 27, 2015
·
20 revisions
##drawType类型
- simple
- heatmap
- density
- cluster
- bubble
- intensity
- category
- choropleth 每个drawType都对应一些各自的drawOptions,大部分命名与canvas原生的命名保持一致,各自具体内容参看如下:
###simple对应的drawOptions fillStyle: 'rgba(200, 200, 50, 1)', // 填充颜色
- strokeStyle: 'rgba(0, 0, 255, 1)', // 描边颜色
- lineWidth: 4, // 描边宽度
- shadowColor: 'rgba(255, 255, 255, 1)', // 投影颜色
- shadowBlur: 35, // 投影模糊级数
- globalCompositeOperation: 'lighter', // 颜色叠加方式
- radius: 4 // 半径
###heatmap对应的drawOptions
- radius
###density对应的drawOptions
- radius
###cluster对应的drawOptions
- radius
###bubble对应的drawOptions
- radius
###intensity对应的drawOptions
- radius
###drawType对应的drawOptions
- radius
###drawType对应的drawOptions
- radius