The following is a set of webComponents used in our sample templates to illustrate how the API can be leveraged to build full featured UI to control the chart.
Feel free to use them as provided or modify as needed to meet your needs. You can find all of the source code for these webComponents in
This implementation assumes the chart is attached to to a quotefeed for interactive data loading. If you will not be using a quotefeed, you will need to adjust these components accordingly.
Performance considerations: These web components include dynamically updating modules that will react to every data change and redraw certain elements. Although visually pleasing, they can sometimes cause performance issues on slow devices or when multiple charts are displayed. See CIQ.UI.animatePrice for setting options.
- CIQ.UI.ContextTag which provides a model and base functionality for many components