This demo illustrates the Segment colorizers you can apply to the Line Series and its descendants.
The Range Segment colorizer allows you to specify a line's color for each value range. The Trend Segment colorizer changes a line's color when a point value increases or decreases.
Use the View option in the Options panel to change the series view. To switch between colorizers, use the Segment Colorizer setting.