AnyStock plots support line markers and text markers that draw horizontal reference levels directly on the chart, ideal for highlighting price limits, targets, or threshold zones. The scaleRangeMode property controls whether the Y-axis expands to include marker values.
This sample adds red upper-limit and green lower-limit line markers with matching text labels to a CSCO OHLC chart. A clickable chart label toggles marker scaleRangeMode between “none” and “consider” with live status text. An area scroller and range controls support timeline navigation.
Follow the step-by-step OHLC Chart Tutorial to learn how stock charts are built. See the AnyStock documentation for all configuration options.