How to use colors in reporting

Demonstrates how to use the colors defined in a KNIME Color Manager node in BIRT reporting. 1) In KNIME: Define colors in Color Manager 2) In KNIME: Extract colors from color model and send color table to BIRT/Reporting 3) In BIRT: Define "onFetch" script on color data set from step (2). This will put the a color key-value pair [class->colorID] into a PersistentGlobalVariable. Note that BIRT calls JavaScript during report generation. 4) In BIRT: Use a dummy/hidden text element as first report element to access the color table (will subsequently run the "onFetch" script on the data set from step 3). 5) In BIRT: In the script to a graph element define appropriate functions to use the variables defined in step 3. Note, this is rather complicated but the only solution that seems to be doable. KNIME and the BIRT are two independent components, whereby KNIME really only serves as a data provider to BIRT. In order to see the report, execute the entire workflow and then click "Open the report" button in the toolbar.

This is a companion discussion topic for the original entry at

Hi, is possible to have one simples exemple? I need use this but from step 3 it’s impossible!! Please help me!


Sorry but the page don’t open…