Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Error processing component - how to override message?

$
0
0
We are running some line charts against many potential sets of data. In a few uncaught cases, the data set might be empty/invalid. I'm trying to check for errors with the following code in PostFetch:

var cccOptions = this.chartDefinition;
var eps = Dashboards.propertiesArrayToObject(cccOptions.extensionPoints);

eps.noDataMessage_text = "(No data found - chart cannot be displayed)";
eps.invalidDataMessage_text = "(No data found - chart cannot be displayed)";

These work most of the time; however, I am getting the following message in some cases: Error processing component(chartname). The cda shows that there were no data results. I would think my current text overrides above would work in this instance, but is there another extension point I should be targeting?

Thanks in advance!

Viewing all articles
Browse latest Browse all 16689


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>