Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Line chart : Additional value in tooltip

  1. #1
    Join Date
    Aug 2014
    Posts
    17

    Default Line chart : Additional value in tooltip

    Hello all,

    I have a line chart which display 1 line with percentage month by month. I calcul this value in a sql query.
    I woul like to display more informations than the basic displayed by the tooltip, for exemple the value used to calculate percentage :

    SQL : Select month, (A*100/B) as C

    Tooltip currently result : * Series : C
    * Month : month
    * Value : c

    Tooltip expected result : * Series : C
    * Month : month
    * Value : c, a

    How can i do that ? I did research with the modification of the tooltip format, the mapping of dimensions, the ccc readers, without success...

    Thank you for your help.
    Last edited by tgrosroyat; 02-08-2016 at 08:35 AM.

  2. #2
    Join Date
    Mar 2012
    Posts
    645

    Default

    First, make the additional data available as a CCC dimension, by reading it from the data source.
    Then, either the default tooltip — that displays all dimensions' values — is acceptable, or you need to create your own using tooltipFormat.

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.