Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Line chart with min max and last dots

  1. #1
    Join Date
    Jan 2015
    Posts
    18

    Default Line chart with min max and last dots

    Hi All,

    This should be quite an easy question but I can't figure it out.

    I have a simple line chart with one line, but I need to add a dot and value to the min and max points as well as the last point.

    If someone could point me in the right direction I would be extremely grateful.

    Thanks

  2. #2
    Join Date
    Jan 2015
    Posts
    18

    Default

    Is this just not possible?

  3. #3
    Join Date
    Jun 2017
    Posts
    1

    Default

    Everything is possible (within limits of JavaScript, CSS and HTML).
    In CDE (for 1 series with 1 measare) in Advanced Properties:
    1. In Post Fetch find min, and max value of measure and store it in this.min, this.max.
    2. Set Dots Visible to True
    3. Set Values Visible to True
    4. In Extension Points addarg "dot_visible" with value:
    function(scene){
    return (
    scene.vars.value.value == this.min ||
    scene.vars.value.value == this.max ||
    scene.nextSibling === null
    );
    }

  4. #4
    Join Date
    Jan 2015
    Posts
    18

    Default

    Thanks Looneytoons, that is a massive help

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 - 2017 Pentaho Corporation. All Rights Reserved.