Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: ClickAction-CCC 2

  1. #1
    Join Date
    Dec 2012
    Posts
    4

    Question ClickAction-CCC 2

    I recently download CCC2 and it is my ClickAction function does not work properly:

    function(s,c,v){
    Dashboards.log("Clic sur " + s + ", " + c);
    Dashboards.fireChange('Param',c);
    }



    I am looking for the corresponding function for CCC 2


    Thank you in advance !!!

  2. #2
    Join Date
    Mar 2012
    Posts
    645

    Default

    Hi, thanks for trying CCC2!

    You can see a working example of the new function interface in the example found here:

    http://www.webdetails.pt/ctools.html#tabccc (Heat-Grid > Interactive)

    Anyway, essentially, for a bar chart, you could do:
    Code:
    clickAction: function(scene){    
       alert(
            'series = "'       + scene.vars.series.value + 
            '", category = ' + scene.vars.category.value + 
            '", color = '      + scene.vars.value.value);
    }
    You can read more about the new function interface in the JsDocs reference page and in a wiki we've setup that describes the major changes in CCC2.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.