Members
(constant) getDefaultSVGProps
- Source:
Properties:
Name | Type | Description |
---|---|---|
svgClassNames |
string | SVG class name |
svgStyles |
string | SVG styles |
transformFn |
function | Function callback for translating SVG |
onClickFn |
function | Function callback for onclick event |
a11yAttributes |
object | a11y attributes for SVG |
Creates a skeleton for SVG props used to generate nested SVG
(constant) getSVGObject
- Source:
Returns an object to create a svg circle for data point
(constant) getSVGObjectForEvent
- Source:
Returns an object to create a svg circle for event data point
(constant) helpers
Properties:
Name | Type | Description |
---|---|---|
AXIS_TYPE |
object | Carbon API axis types constants |
COLORS |
object | Carbon API color constants |
LINE_TYPE |
object | Carbon API line type constants |
LOCALE |
object | Carbon API locale objects |
SHAPES |
object | Carbon API shape constants |
Carbon helper constants
(constant) LINE :Object
- Source:
The S_0013_line.svg SVG file as an object.
Type:
- Object
(constant) LINE_DASHED :Object
- Source:
The S_0014_dashed_line.svg SVG file as an object.
Type:
- Object
(constant) LOCALE :Object
- Source:
Properties:
Name | Type | Description |
---|---|---|
de_DE |
object | Carbon locale DE |
en_AU |
object | Carbon locale AU |
en_CA |
object | Carbon locale CA |
en_GB |
object | Carbon locale GB |
en_US |
object | Carbon locale default |
es_ES |
object | Carbon locale ES |
fr_FR |
object | Carbon locale FR |
pt_BR |
object | Carbon locale BR |
ja_JP |
object | Carbon locale JP |
nl_NL |
object | Carbon locale NL |
sv_SE |
object | Carbon locale SE |
Locale objects serving as a default set. Consumer can provide a set of properties that axes ticks will honor when the locale is set.
Type:
- Object
(constant) renderSelectionPathForEvents
Renders the circle svg element for event which shows up when clicked on the data point. It is hidden by default and toggled visible onClick.
(constant) tools :Object
Properties:
Name | Type | Description |
---|---|---|
shape |
Object | |
defaultSVGProps |
Object |
Carbon tools for generating reusable items like different shapes
Type:
- Object
Methods
getValueRegionSubset(dataTarget, getXDataValues) → {Array}
- Source:
Extracts regions inside value and prepare a list of value region
Parameters:
Name | Type | Description |
---|---|---|
dataTarget |
object | Data points object |
getXDataValues |
function | checks if the value is valid and extract value for x-axis |
Returns:
value region subset
- Type
- Array
Type Definitions
Bubble
d3
d3
d3
d3
- Source:
Type:
- object
d3
- Source:
Gantt
GanttConfig
- Source:
Type:
- object
GanttConfig
- Source:
Type:
- object
GraphConfig
- Source:
Type:
- object
Line
- Source:
LineConfig
- Source:
Type:
- object
PairedResult
PairedResultConfig
Type:
- object
PieConfig
- Source:
Type:
- object
Scatter
ScatterConfig
- Source:
Type:
- object
TimelineConfig
- Source:
Type:
- object
TimelineConfig
Type:
- object