Charts CCC条形图-如何动态设置Y轴的固定值?
我用的是Pentaho的社区仪表板编辑器,我用的是条形图 我需要根据结果集动态分配y轴的固定值 在执行前:Charts CCC条形图-如何动态设置Y轴的固定值?,charts,pentaho,dashboard,pentaho-design-studio,pentaho-ctools,Charts,Pentaho,Dashboard,Pentaho Design Studio,Pentaho Ctools,我用的是Pentaho的社区仪表板编辑器,我用的是条形图 我需要根据结果集动态分配y轴的固定值 在执行前: function(){ this.chartDefinition.orthoFixedMax = 10; } 但结果集仅在执行后显示。 如何动态设置y轴的固定值 使用后提取: function() { var abc = render_LeadTimeLine.query.lastResults().resultset; //check result
function(){
this.chartDefinition.orthoFixedMax = 10;
}
但结果集仅在执行后显示。
如何动态设置y轴的固定值 使用后提取:
function() {
var abc = render_LeadTimeLine.query.lastResults().resultset;
//check result set & use
this.chartDefinition.orthoFixedMax = 10;
}
this.chartDefinition.orthoAxisFixedMax=10;