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.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com, follow @NodePit on Twitter or botsin.space/@nodepit on Mastodon.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.