Negative/positive coloring in AnyChart automatically styles a series based on whether values fall above or below a defined baseline. This makes surplus and deficit periods instantly distinguishable without any manual point-by-point configuration.
This sample creates a spline area chart that loads South African monthly trade-balance CSV data. The baseline is set to −5 with a labeled line marker, and the X scale is inverted for chronological reading. Values above the baseline are filled in blue, while values below it switch to orange, clearly separating positive and negative trade-balance periods.
See the Color Management documentation for all configuration options.