Additional Data Chart Tooltip Plugin

Comments

29 comments

  • Avatar
    Cassandra

    great feature.  Is there a way from preventing the additional tool tip values from affecting the axis?

    1
    Comment actions Permalink
  • Avatar
    Jim Thomas

    Will this work with a Scatter Diagram?

    1
    Comment actions Permalink
  • Avatar
    Melissa Castilla

    Does this work with line charts?

    1
    Comment actions Permalink
  • Avatar
    Joe McClure

    I have a widget with a column graph of weekly numbers and a running total line graph.  I want the line graph to remain displayed with the enhanced tool tip.  Additionally, I would love to display the week total, the running total and the percentage of the total vs. running total

    0
    Comment actions Permalink
  • Avatar
    Lee

    Hello Joe,

    We may achieve this by using the following parameters:
    tooltipIndexes - an array of series to display in the tooltip
    hideIndexes - an array of series to hide

    To implement please use this in the widget script:

    prism.additionalInfoTooltip (widget, {tooltipIndexes:[0,1,2],hideIndexes:[1],displayCurrentSelection:false});

    Make sure to modify the array parameters.

    Then, replace the script in the AdditionlInfoTooltip.js file with the following:

    prism.additionalInfoTooltip = function (widget, widgetArgs) {

    widget.on("beforeviewloaded", function(e, args){
    _.each(widgetArgs.hideIndexes, function(i) {
    if (args.options.series.length > i){
    args.options.series[i].visible = false;
    args.options.series[i].showInLegend = false;
    }
    });
    });

    widget.on("beforedatapointtooltip", function (se, args){
    var category = args.context.pointScope.selectionData[0];
    var points = [];

    if (widgetArgs.displayCurrentSelection){
    points = args.context.points;
    }

    _.each(widgetArgs.tooltipIndexes, function(i) {
    var e = args.widget.queryResult.series[i];

    for (var j=0; j < e.data.length; ++j){
    if (e.data[j].selectionData[0] == category){

    points.push({seriesName: e.name, showPercentage: false, value: e.data[j].y.toLocaleString(), valueColor: e.data[j].color});
    }
    }
    });

    args.context.points = points;
    });
    };

    0
    Comment actions Permalink
  • Avatar
    Larry Craig

    Using this with Version 6.5.2.11007, and have an issue where the ability to drill down into the widget is limited to one time per loading of the widget.  

    1. When I drill down, and move back out to the original widget view, I'm unable to select another column or drill down.
    2. When I select a column, then unselect it, I'm unable to select another column or drill down.
    0
    Comment actions Permalink
  • Avatar
    Leslie Ambrose

    This is a useful feature that is frequently requested.  I second the queries about getting such capability for additional widget types. Is there any though of doing that?

    Also, the presentation formatting choices -- such as $, %, or precision -- are not honored in the tooltip pop-up.  Is there any plan to add this? 

    Thanks!

    0
    Comment actions Permalink
  • Avatar
    Oleg Fil (Edited )

    Hi Leslie,

    Please try the updated plugin. It contains fix for the values formatting.

    0
    Comment actions Permalink
  • Avatar
    Leslie Ambrose

    This is great, Oleg!  Thanks so much for the updates.  

     

    0
    Comment actions Permalink
  • Avatar
    Jonathan Pires

    Hi Leslie,

     

    Glad to hear it works!

    0
    Comment actions Permalink
  • Avatar
    Alina Lotman

    Hi,

    This feature is great - can it be updated to support two X-axis categories or a 'break by'?

    Thank you!

    1
    Comment actions Permalink
  • Avatar
    Leslie Ambrose

    Hi,

    We have a column chart with one visible and one hidden column.  This widget is set to affect the dashboard filters. WThe first time a user selects a column, the filter updates.  A second column selection also works, but the third does not.  The column highlights but the filter is not affected and other widgets do not respond. Refreshing the page gives two more selections and again fails on the third.

    We're in 6.5 and we have a reasonably recent version of this plug-in, updated with your great fix for the formatting, as discussed above.  

    Has anyone else seen this?

    Thanks,

    Leslie

    0
    Comment actions Permalink
  • Avatar
    Siva

    Hi,

    will this work for Pie Chart also?

    Regards,
    Sai Krishna.

    1
    Comment actions Permalink
  • Avatar
    Sanjoy Ghosh

    Hi,

    This a very useful plugin but we have a problem. 

    Say for I have 13 series in one single column chart but I want to show only 5 series in the chart and rest 8 in additional tool tip

    So my 5 values column bars are : 


    Life Savings - When i hover over this I want to show additional info only for this bar 
    Annual Savings - When I hover over this bar, I want to show additional info Particular to annual savings 
    Expenses - same as above only for Expense 
    $ / Unit Annual - same as above only for $ / Unit Annual 
    $ / Unit Life - same as above only for $ / Unit Life

    prism.additionalInfoTooltip (widget, {seriesIndexes:[2,3],displayCurrentSelection:true});

    But the above script shares for the entire column chart display and I want to restrict based on the different column bar I hover . How can I specify for a specific series what additional information to be shown and another series different set of additional information etc. ?

    Please suggest.

     

    Regards,

    Sanjoy

    1
    Comment actions Permalink
  • Avatar
    Lidor Rosencovich

    Hi Leslie, 

    The plugin is being reviewed and we'll post a comment once it's ready to go.

    Thanks for your input!

     

    Regards,

    Lidor

    1
    Comment actions Permalink
  • Avatar
    Todd Winton

    Is it possible for this to effect the categories on a bar chart?  

    Use case: we are displaying the 4 character code for a shipping carrier.  We would like to display the full carrier name in the tooltip.

    0
    Comment actions Permalink
  • Avatar
    Lidor Rosencovich

    Hi Leslie,

    The plugin has been fixed and selections are working as expected.

    Please re-download the new version and let us know if you have any other issue.

     

    Glad to help,

    Lidor

    0
    Comment actions Permalink
  • Avatar
    Leslie Ambrose

    Hi, Lidor,

    This fix looks great.  Thanks so much!

    Regards,

    Leslie

    1
    Comment actions Permalink
  • Avatar
    Siva

    Hi,

     

    Can we have similar solution for Pie Chart.?

     

    Regards,
    Sai Krishna.

    1
    Comment actions Permalink
  • Avatar
    Mike van

    How do I stop it from affecting the Y Axis scale, i.e. if the extra tooltip value is between 0 and 100,000 and the displayed between 1 and 100, the auto scaling will still take the "hidden" series into account.

    2
    Comment actions Permalink
  • Avatar
    Siva

    This plugin is not working in Version: 7.1.0.11010. Please provide us the updated plugin.

    0
    Comment actions Permalink
  • Avatar
    Oleg Fil

    Hi Sai,

    Please try the latest version. It contains compatibility issues fixes

    0
    Comment actions Permalink
  • Avatar
    Delsaran Bigglesworth

    Anyway to make is work with "break by"? I have a use for two values and a break.

    2
    Comment actions Permalink
  • Avatar
    An Y (Edited )

    It is affecting my y-axis scale where the displayed values are under 100% , but the hidden two values that are in the popup could be over 10k . Any suggestions on how to fix that?

    0
    Comment actions Permalink
  • Avatar
    Dima Kruchenetsky

    Is there a way to do something like that in pivot table widget?
    I have calculation and want to display the +/- standard deviation as tool tip
    something like that:

    0
    Comment actions Permalink
  • Avatar
    Sharon Morad

    Hi,

    Is there another plugin like this but for line charts? 
    When I'm adding another value its automatically disable the first one.

    0
    Comment actions Permalink
  • Avatar
    Ben Schneider

    Hi,

     

    I managed to update this plug-in to allow it to work properly on 2 x-axis bar charts.

    https://drive.google.com/file/d/14y9uWRP03aqvvTaa_kAhnXXk220X2BHt/view?usp=sharing

    0
    Comment actions Permalink
  • Avatar
    Chris Bridges

    I am unable to get this plug in to work with version 7.4.2.10063

    Is anyone else experiencing this issue?

    0
    Comment actions Permalink
  • Avatar
    Ravi Verma

    Hi, this plugin is not working for 7.3. Do I need to change the script as the location of plugins has been changed from "Prism.web" to "C:\Program Files\Sisense\app\plugins.

    Please suggest.

    Best regards,

    Ravi

    0
    Comment actions Permalink

Please sign in to leave a comment.