O'Reilly logo

Integrating and Extending BIRT by Don French, Iana Chatalbasheva, Tom Bondur, Jason Weathersby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Working with Chart Event Handlers

BIRT supports an event handler model for the Chart Engine. The model is similar to the model for standard BIRT report elements and supports both the Java and JavaScript environments. This chapter provides details on both averments. The Chart Engine also supports this event model when used outside of BIRT.

Chart events overview

A chart is a graphical representation of data. A chart event occurs before, during, or after the drawing of a chart. Table 11-1 lists the chart event handler methods and describes when these methods are called.

Table 11-1. Chart event handler methods

Method

Called

afterDataSetFilled(Series series, DataSet dataSet, IChartScriptContext icsc)

After populating the series data set

afterDrawAxisLabel(Axis ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required