문제

I'm using Pentaho's Community dashboard editor.I'm using barchart.

I need to assign the fixed value for y axis dynamically according to result set.

In pre execution:

function(){
this.chartDefinition.orthoFixedMax = 10;
}

but result set are only shown in post execution. how can I set fixed value for y axis dynamically?

도움이 되었습니까?

해결책

used post fetch:

  function() {        
    var abc = render_LeadTimeLine.query.lastResults().resultset;
    //check result set & use 
    this.chartDefinition.orthoFixedMax = 10;

   }
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top