Cocos Creator Gradient Progress Bar with FILLED Sprite Configuration
Prepare a gradient image. Set the progress bar Sprite’s Type to FILLED, set the ProgressBar Mode to FILLED, and set Total Length to 1:

Set the child Bar Sprite’s Type to FILLED as well:

If these settings disagree, Cocos reports:
| |