Avatar

Brian Bontrager

  • Total activity 104
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 1 user
  • Votes 29
  • Subscriptions 43

Activity overview

Latest activity by Brian Bontrager
  • Avatar

    Brian Bontrager commented,

    Excel's "Serial Number" for a date is the number of days since a point in history.   Jan 1, 1900 is day 1   If your date is in a column named csvDate, you can use AddDays(CreateDate(1900,1,1),[csvD...

  • Avatar

    Brian Bontrager commented,

    It looks like your Response Body is an empty array. This can happen when the dashboard name is not found.  The name is case sensitive, so I would double-check that.

  • Avatar

    Brian Bontrager commented,

    javascript is not strongly  typed, so you can treat the v1..v5 variables as strings.  Change the statements that clear them out, and apply your format conversion function in either in the widget sc...

  • Avatar

    Brian Bontrager commented,

    The exact method will vary by widget. The method of transforming it can use the same convertRawTime() function here. For a pivot, you need to identify which cells you want to reformat and only refo...

  • Avatar

    Brian Bontrager commented,

    Username and related values for the current user are in the prism.user object. var id=prism.user._id; var name=prism.user.firstName+' '+prism.user.lastName; var email=prism.user.email; var usrName...

  • Avatar

    Brian Bontrager commented,

    For benefit of others who find this post, The above works in version 7 In version 6.7 use dashboard.on("stylechanged", function(d, args) {$(".ds-lbt").hide();});

  • Avatar

    Brian Bontrager commented,

    Thank you!  That worked, with the addition of the missing ); at the end.

  • Avatar

    Brian Bontrager created a post,

    Hide Dashboard Refresh Time

    Answered

    Is there a javascript method (or a plugin) to hide the dashboard's last refresh time?  We have some pages that contain exclusively iframes to embed non-elasticube information.  The last refresh tim...

  • Avatar

    Brian Bontrager commented,

    Here's part of what you are looking for. This script will move the grand total row to the top.   widget.on('ready', function(sender, ev){ if ($(".p-grand-total-row-head", element).length > 0) { set...

  • Avatar

    Brian Bontrager commented,

    Regarding the second question, you can connect to a second live connection when you define a widget.  As soon as you select "New Widget" there is a link to data sources in the upper right of the po...