Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: the value of dashboard javascirpt

  1. #1

    Default the value of dashboard javascirpt

    Dear all.
    I see that in dashboard when we declare the java script function like that
    function something(s, c, v)

    Would you please explain for me What is s,c,v value in dashboard javascript ?
    thankyou very much

  2. #2
    Join Date
    Mar 2012
    Posts
    645

    Default

    Hi,

    the «function (s, c, v) { ... }» signature is used, in CCCv1, for handlers like clickAction and tooltipFormat.
    The variables are named after the first letters of: series, category and value, respectively.

    In CCCv2, this signature was dropped and a common signature was adopted for both extension points and action handlers: «function(scene) { ... }»
    You can read more about the new signature here.

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.