Extra Chart Elements
In addition to the regular chart elements described earlier (axes, plotArea, legend, header, footer etc), you can add extra elements to the chart in several ways:
- events: Use the rendering and rendered events to add arbitrary elements behind or in front of the regular chart elements.
- annotations: Use the wijmo.chart.annotation extension to add annotations (shapes or text) to data points or to chart areas.
- analytics: Use the wijmo.chart.analytics extension to add trendlines and moving averages to the chart.
- plotAreas: Use the plotAreas property to add multiple plot areas to the chart, using the same header, footer, legend, and sharing axes.
For example,the chart below has 'buy' and 'sell' zones created in the chart's rendering event handler: