【问题标题】:CCC BarChart - how to set a fixed value for Y axis dynamically?CCC BarChart - 如何动态设置 Y 轴的固定值?
【发布时间】:2013-09-30 19:08:36
【问题描述】:

我正在使用 Pentaho 的社区仪表板编辑器。我正在使用条形图。

我需要根据结果集动态分配y轴的固定值。

预执行中:

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

但结果集仅显示在post execution. 如何动态设置 y 轴的固定值?

【问题讨论】:

    标签: charts pentaho dashboard pentaho-design-studio pentaho-ctools


    【解决方案1】:

    使用后获取:

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

    【讨论】:

    • this.chartDefinition.orthoAxisFixedMax = 10;
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多