Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: change dinamically a bar chart for a table component

  1. #1
    Join Date
    Mar 2013
    Posts
    1

    Default change dinamically a bar chart for a table component

    Hi friends i am working with cdf and i am trying to change dinamically a bar chart for a table component when you push a button

    (first I have a graph in panel 1 and when I push the button (to see graph or table) I need to change the graph in panel 1 for a table component in the same panel panel 1 and hide the graph)

    Is that possible to do that? how?

    I can’t find documentation about something similar

    anybody has a sample or a extract of code to do it?

    Thank You

  2. #2
    Join Date
    Dec 2010
    Posts
    304

    Default

    Hi efor,
    instead of replacing a component with another one, you can put the graph and the table in two different panels and hide (using CSS "display" property) one of them.
    Pushing the button you'll toggle the visibility of the two panels.

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.