Preparing search index...
The search index is not available
@carbon/charts
@carbon/charts
GradientUtils
Class GradientUtils
Hierarchy (
view full
)
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
Gradient
Utils
(
model
,
services
)
:
GradientUtils
Parameters
model
:
ChartModel
services
:
Services
Returns
GradientUtils
Properties
Protected
model
model
:
ChartModel
Protected
services
services
:
Services
Methods
init
init
(
)
:
void
Returns
void
set
Model
set
Model
(
newObj
)
:
void
Parameters
newObj
:
ChartModel
Returns
void
set
Services
set
Services
(
newObj
)
:
void
Parameters
newObj
:
Services
Returns
void
update
update
(
)
:
void
Returns
void
Static
append
Or
Update
Linear
Gradient
append
Or
Update
Linear
Gradient
(
configs
)
:
void
Parameters
configs
:
any
Returns
void
Static
get
Offset
Ratio
get
Offset
Ratio
(
domain
)
:
string
Parameters
domain
:
any
Returns
string
Static
get
Stops
get
Stops
(
domain
,
color
)
:
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...