Preparing search index...
The search index is not available
@carbon/charts
@carbon/charts
GradientUtils
Class GradientUtils
Hierarchy (
View Summary
)
Service
GradientUtils
Index
Constructors
constructor
Properties
model
services
Methods
init
set
Model
set
Services
update
append
Or
Update
Linear
Gradient
get
Offset
Ratio
get
Stops
Constructors
constructor
new
GradientUtils
(
model
:
ChartModel
,
services
:
interfaces
.
Services
,
)
:
GradientUtils
Parameters
model
:
ChartModel
services
:
interfaces
.
Services
Returns
GradientUtils
Properties
Protected
model
model
:
ChartModel
Protected
services
services
:
interfaces
.
Services
Methods
init
init
()
:
void
Returns
void
set
Model
setModel
(
newObj
:
ChartModel
)
:
void
Parameters
newObj
:
ChartModel
Returns
void
set
Services
setServices
(
newObj
:
interfaces
.
Services
)
:
void
Parameters
newObj
:
interfaces
.
Services
Returns
void
update
update
()
:
void
Returns
void
Static
append
Or
Update
Linear
Gradient
appendOrUpdateLinearGradient
(
configs
:
any
)
:
void
Parameters
configs
:
any
Returns
void
Static
get
Offset
Ratio
getOffsetRatio
(
domain
:
any
)
:
string
Parameters
domain
:
any
Returns
string
Static
get
Stops
getStops
(
domain
:
any
,
color
:
string
)
:
object
[]
Parameters
domain
:
any
color
:
string
Returns
object
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
model
services
Methods
init
set
Model
set
Services
update
append
Or
Update
Linear
Gradient
get
Offset
Ratio
get
Stops
@carbon/charts
Loading...