A line chart plots data points connected by straight segments, making it ideal for revealing trends over time. AnyChart’s JavaScript line chart supports multiple series, rich interactivity, and flexible axis configuration.
This multi-series sample tracks ACME Corp. sales of Brandy, Whiskey, and Tequila from 1986 to 2009, with values in thousands plotted on the Y axis and years on the X axis. A crosshair highlights the nearest data points on hover, while point-positioned tooltips show each product’s value. Circular hover markers appear on each series, and an interactive legend lets users toggle or highlight individual series.
Follow the step-by-step Line Chart Tutorial to learn how such charts are built. See the Line Chart documentation for all configuration options.