All Components
Theme

Themes

    Stock Charts / Basic usage

    Description

    The Kendo UI chart is a powerful data visualization component, which allows you to graphically represent your data. It is useful when you would like to utilize modern browser technologies such as SVG or Canvas (with a fallback to VML for older IE versions) for interactive data visualizations.

    The component offers a variety of chart types such as area, bar, line, scatter, polar, radar, pie and donut, stock (OHLC) and many more.

    The Stock Chart type, demonstrated in this example, can visualize the price movements of any financial instrument over the time. The chart describes the high, low, opening and closing prices for a single day by combining the Bar and Line charts. The High price is represented by the top of the upper thin line, while the Low price by the bottom of the lower line. The Open and Close prices are represented by the wide part (the body) of the item. If the close price is higher than the open price, the body is hollowed (usually colored white or green), otherwise it is filled (usually colored black or red).

    The financial chart also offers zooming and scrolling functionality, which is exposed by the Navigator pane, located below the main chart.

    To instantiate a Kendo UI chart, you need to specify an empty div with an id on the page, select this div with a jQuery selector and invoke the kendoChart() function. As a result, the chart is registered as a standard jQuery plugin.

    The chart can fetch data for its series from either local or remote data source You can find more information about the Kendo UI chart in the product documentation.

    HTML5/JavaScript source

    Also available for:

    API Reference
    • index.html
    • Widget configuration

    Support & learning resources

    Stock Charts for other technologies