AnyChart stock charts support conditional coloring that dynamically styles series segments based on data values. This feature makes it easy to highlight thresholds, trends, and anomalies directly on financial time-series visualizations.
This sample applies gradient-based conditional coloring to ORCL intraday data rendered as a line series. An ordinal color scale defines three value zones with gradient strokes: a green-to-yellow gradient below 21.35, solid yellow between 21.35 and 21.5, and a yellow-to-red gradient above 21.5. A stock scroller, range picker, and range selector are included for interactive time-range navigation.
See the Stock Chart Coloring documentation for all configuration options.