Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Hide series not intial load -, {visible: true}) not work

  1. #1
    Join Date
    Jun 2017

    Default Hide series not intial load -, {visible: true}) not work

    I have a bar chart in Pentaho CDE 6.0, fed by data in the following structure:

    MonthYear | Revenue | Cost | GM%
    month 1 value value value

    The settings are
    • crosstab true and
    • series in rows false.

    This takes monthYear as X time axis and the 3 measures as series.
    Revenue and cost are stacked on plot1 and GM% is on plot2.

    Via the legend I can toggle so that either series is hidden.
    Name:  Chart.jpg
Views: 126
Size:  13.0 KB Name:  Chart2.jpg
Views: 122
Size:  8.2 KB

    Now I want to hide the Revenue and cost on initial load.
    I follow this article but I cannot use in my pre-execution. A message comes, that the chart property is null. This is strange. When I debug this, the chart property exists....

    Please your guidance.

    Name:  debug this.jpg
Views: 125
Size:  29.4 KB

  2. #2
    Join Date
    Mar 2012



    if you're referring to this article:,
    it says there that you should put the code in postExecution, and not in preExecution.


  3. #3
    Join Date
    Jun 2017


    Thanks... I had tried many times in renderCallBack and pre-execution. Now I finally understand why it needs in post-Execution.

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.