Example of Hide Period Selector in Javascript Stock Chart Control

Hide Period Selector

By hiding the period selector in the stock chart, this sample visualizes the AAPL stock price. The tooltip and crosshair display data and period information.

More Details...


In this example, you can see how to render and configure stock chart to visualize the stock data. The enablePeriodSelector property allows to toggle the visibility of period selector. Tooltip is enabled in this example. To see the tooltip in action, hover the chart or tap on it in touch enabled devices. More information about the series type can be found in this documentation section. Injecting Module The Stock chart component features are segregated into individual feature-wise modules. To use date-time axis, inject the DateTime module using the StockChart.Inject(DateTime) method. To use the AreaSeries, inject the AreaSeries module using the StockChart.Inject(AreaSeries) method.