<< Click to Display Table of Contents >>
new sg.renderers.DotDensityRenderer(param)
Description
The DotDensityRenderer allows users to create dot density visualizations.
Position
Randerer.js
Properties
Properties |
Type |
Description |
backgroundColor |
sg.Color |
圖徵背景顏色 |
dotShape |
點的形狀 |
|
dotSize |
Number |
點大小(單位:pixel) |
dotValue |
Number |
每點數值Dot value. |
fields |
Array.<Objects> |
依據哪個欄位呈現點子圖 |
outline |
sg.symbols.Symbol |
圖徵外框 |
Methods
Methods |
Type |
Description |
||||||||||
getSymbol(graphic) |
graphic:sg.Graphic Returns:sg.symbols.Symbol |
Return graphic symbol.
Returns:
|
||||||||||
setBackgroundColor(color) |
sg.Color |
Define the background color.
|
||||||||||
setDotSize(size) |
Number |
Define the dot size.
|
||||||||||
setDotValue(value) |
Number |
Define the dot value.
|
||||||||||
setOutline(outline) |
sg.symbols.Symbol |
Define symbol outline.
|
Example
|
©2015 Supergeo Technologies Inc.