GridAxisLayer
Helper to create a grid layer
Constructor Summary
| Public Constructor | ||
| public |
constructor(options: Object) |
|
Inherited Summary
| From class Layer | ||
| public static |
Allows to override default the |
|
| public get |
Returns the data associated to the layer. |
|
| public set |
Sets the data associated with the layer. |
|
| public get |
Returns |
|
| public set |
Sets |
|
| public get |
Returns an array containing all the displayed items. |
|
| public get |
Returns |
|
| public set |
Sets |
|
| public get |
Returns the opacity of the whole layer. |
|
| public set |
Sets the opacity of the whole layer. |
|
| public get |
Returns the items marked as selected. |
|
| public get |
Returns |
|
| public set |
Sets |
|
| public get |
Returns |
|
| public set |
Sets |
|
| public get |
Returns the transfert function used to display the data in the x axis. |
|
| public get |
Returns the transfert function used to display the data in the y axis. |
|
| public get |
Returns the domain boundaries of the data for the y axis. |
|
| public set |
Set the domain boundaries of the data for the y axis. |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
A Segment instanciated to interact with the Layer itself. |
|
| public |
Defines how the layer should look at the data ( |
|
| public |
Parameters of the layers, |
|
| public |
|
|
| public |
configureCommonShape(ctor: BaseShape, accessors: Object, options: Object) Optionally register a shape to be used across the entire collection. |
|
| public |
configureShape(ctor: BaseShape, accessors: Object, options: Object) Register a shape and its configuration to use in order to render the data. |
|
| public |
describe(x: *): * |
|
| public |
destroy() Destroy the layer, clear all references. |
|
| public |
Edit item(s) according to the |
|
| public |
editContext(dx: Number, dy: Number, $target: Element) Edit the layer and thus its related |
|
| public |
getDatumFromDOMElement($el: Element): Object | Array | null Returns the datum associated to a specific item from any DOM element composing the shape. |
|
| public |
getDatumFromItem($item: Element): Object | Array | null Returns the datum associated to a specific item. |
|
| public |
getItemFromDOMElement($el: Element): Element | null Returns an item from a DOM element related to the shape, null otherwise. |
|
| public |
getItemsInArea(area: Object): Array Retrieve all the items in a given area as defined in the registered |
|
| public |
hasElement($el: Element): bool Defines if a given element belongs to the layer. |
|
| public |
Tests if the given DOM element is an item of the layer. |
|
| public |
render() Create the DOM structure of the shapes according to the given data. |
|
| public |
Mark item(s) as selected. |
|
| public |
setBehavior(behavior: BaseBehavior) Register the behavior to use when interacting with a shape. |
|
| public |
setContextEditable(bool: boolean) Defines if the |
|
| public |
setTimeContext(timeContext: TimeContext) Sets the context of the layer, thus defining its |
|
| public |
stretchContext(dx: Number, dy: Number, $target: Element) Stretch the layer and thus its related |
|
| public |
toggleSelection($items: Element | Element[]) Toggle item(s) selection state according to their current state. |
|
| public |
Removes item(s) from selected items. |
|
| public |
update() Updates the container of the layer and the attributes of the existing shapes. |
|
| From class AxisLayer | ||
| public get |
The generator that creates the data to be rendered to display the axis. |
|
| public set |
The generator that creates the data to be rendered to display the axis. |
|
| public |
$background: * |
|
| public |
$el: * |
|
| public |
$maingroup: * |
|
| public |
update() Generates the data and update the layer. |
|
Public Constructors
public constructor(options: Object) source
Override:
AxisLayer#constructorParams:
| Name | Type | Attribute | Description |
| options | Object | An object to configure the layer. |