Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: How to integrate Google Visualization API and CDE together without using xaction ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2014
    Posts
    28

    Default How to integrate Google Visualization API and CDE together without using xaction ?

    Hello I try to research how to use Google chart in CDE and found that it can be done in Pentaho Design Studio from this link

    http://diethardsteiner.blogspot.com/...-data-for.html

    But when I try to download Pentaho Design Studio, the available versions do not suit current BI Platform version

    http://community.pentaho.com/project...ign_studio.php

    Xaction seem become old technology and already obsolete.

    Are there other ways to integrate them ? Could you show me some example ?

    Thank you very much.

    P.S. I found this link talk about VizController, how to use it ?

    http://stackoverflow.com/questions/8...api-or-to-flex
    Last edited by Kazugi; 05-16-2014 at 01:56 AM. Reason: add P.S.

  2. #2
    Join Date
    Jan 2014
    Posts
    189

    Default

    The correct way to do want you want would be to build a CDE component, in order to get lifecycle management, but the following might also work:

    1. Use the QueryComponent to put the data you want to show into a parameter.
    2. Add a Javascript resource to CDE with the Google code. In there you will need to access the query data, use:

    var mydata = Dashboards.getParameterByName('{$p:myParameter}')

  3. #3
    Join Date
    Mar 2014
    Posts
    28

    Default

    I tried to use QueryComponent and add a Javascript resource to CDE with the Google code in html but it does not work.

    Where should I add javascript ?
    - Add resource at Layout Structure
    - JavaScript function
    - Pre Execution at QueryComponent
    - Post Execution at QueryComponent

    Thanks a lot for your help
    crusso

  4. #4
    Join Date
    Mar 2014
    Posts
    28

    Default

    Finally I made it!! I did it in PostExecute of QueryComponent.

    I didn't use "var mydata = Dashboards.getParameterByName('{$p:myParameter}')"

    I just use a parameter that I name in Result Var.

  5. #5

    Default

    I face the same issue. I want to use a treemap google chart into cde. But I still can't find a way to do that.
    Can you please tell me how did you make it ? Thanks

Tags for this Thread

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.