new Bars(config)
Creates a Bars renderer, a derivation of the OHLC renderer.
Note: By default, the renderer will display bars as underlays. As such, they will appear below any other studies or drawings.
The Bars renderer is used to create the following drawing types: bar, colored bar.
See CIQ.Renderer#construct for parameters required by all renderers
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
object | Config for renderer Properties
|
- Since:
-
5.1.1, creates only Bar type charts
Example
// Colored bar chart
var renderer=stxx.setSeriesRenderer(new CIQ.Renderer.Bars({params:{name:"bars", colored:true}}));