<< 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 |
Symbol background color. |
dotShape |
Dot shape. |
|
dotSize |
Number |
Dot size in pixels. |
dotValue |
Number |
Dot value. |
fields |
Array.<Objects> |
An array of objects. Each object defines a field and its color. |
outline |
sg.symbols.Symbol |
Feature outline. |
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.