Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: No-Chart-Data into jfree Component

  1. #1
    Join Date
    Jan 2008

    Default No-Chart-Data into jfree Component

    hi to all
    is it possible to hide a generic component subsequently to a specif event?
    For example, hide a jFreeComponent when query result are without data.
    Another: is it possible, like pentaho report designer, show a label " no chart data" ?


  2. #2
    Join Date
    Apr 2010


    If you're talking about xaction graphs, I think you can use an If step with a condition like
    If query_result.getRowCount() > 0
    then you build the graph, otherwise you skip it.

    If you have no xaction, directly inside the dashboard you may use some javascript trick like
    postExecution: function() {
    if (something)
    document.getElementById(html_element).style.display = "none";
    Of course that "something" needs to be defined somehow.

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.