Funciton that sets a Progress Gradient
The id of the Progress element
The gradient type
The gradient colours, as a JSON string
the API response envelope as a JSON string: { code, isSuccess, message, value? }
{ code, isSuccess, message, value? }
Funciton that sets a Progress Gradient