import LinkChartGraphicOrigin from "@arcgis/core/graphic/LinkChartGraphicOrigin.js";const LinkChartGraphicOrigin = await $arcgis.import("@arcgis/core/graphic/LinkChartGraphicOrigin.js");- Inheritance:
- LinkChartGraphicOrigin→
GraphicOrigin
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Provides information about the LinkChartLayer from which a graphic originates. Also provides access to the KnowledgeGraphSublayer that contains the graphic. The origin information may be available when a graphic is returned from methods such as hitTest() or queryFeatures().
Constructors
Properties
| Property | Type | Class |
|---|---|---|
layer readonly | | |
sublayer readonly | | |
type readonly | LinkChartLayer["type"] | |
sublayer
readonly Property
The KnowledgeGraphSublayer from which a graphic originates.
type
readonly Property
- Type
- LinkChartLayer["type"]
Indicates the type of layer the graphic originated from.
- Default value
- "link-chart"