AnyStock Series Overview


AnyStock supports a lot of different series types, some of them compatible to be switched during run time.

Here's a sample where we put three of them.

// set the plots
var plot_line_ohlc = chart.plot(0);
var plot_column = chart.plot(1);

// create the column series
var rates = plot_column.column(mapping);"Highest rate");

// create ohlc series
var prices = plot_line_ohlc.ohlc(ohlcMapping);
var pricesName ="ACME Corp.");

// create line series
var requests = plot_line_ohlc.line(lineMapping);"Requests");


You can see that the whole chart is divided in parts, where one contains OHLC and Line series and the second one has column in it, both parts have identical X Axis and are scrolled simultaneously. This parts we call plots, you can read about them Chart Plots article.

AnyStock Series Adjusting

You can adjust the colors of the series, adjust the tooltips, etc. Let's now create a sample with adjusted colors.

// set the filling color for the rates series

// set stroke for the requests series


AnyStock Scroller Series Adjusting

Adding a background series of a column type to the scroll bar background and adjusting its "selected" state colors:

// create a thumbnail series in the scroller
var thSeries = chart.scroller().column(lineMapping);

// define the shown part of a chart 
// set the color for the selected columns in the thumbnail series


List of supported series

AnyStock supports series of different types, like Line Series, OHLC, Marker and many other - find them all in the Supported Series list. Compatible series types can be switched during run time.

You are looking at an outdated v7 version of this document. Switch to the v8 version to see the up to date information.