new Simple(params)
Creates simple HTML nodes that can be used with a CIQ.Marker
See Markers tutorials for additional implementation instructions.
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Parameters to describe the marker Properties
|
Example
var datum = {
type: "circle",
headline: "This is a Marker for a Split",
category: "split",
story: "This is the story of a split",
};
var mparams = {
stx: stxx,
label: "Sample Events",
xPositioner: "date",
x: aDate,
node: new CIQ.Marker.Simple(datum),
};
var marker = new CIQ.Marker(mparams);