Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

Conditionally Colored X-Axis Labels On Bar Chart

Introduction The code below allows you to color the x axis labels for each category of a bar chart based on the color of a secondary series. It also then hides the secondary series from being plotted. Steps STEP 1 The first step is to create a bar c...

intapiuser by Community Team Member
  • 508 Views
  • 0 comments
  • 0 kudos

Format Entire Record In Pivot Table Based On Dimension Name

OverviewIn this example the script goes through the pivot line by line and when it finds "Female" it colors the entire line light pink, its associated key pair value. It does the same for the word "Male" and colors the record light blue.Normally, you...

intapiuser by Community Team Member
  • 252 Views
  • 0 comments
  • 0 kudos

IFrame Widget

Download: iframeIntroductionIn this post we will present how to embed any website as a widget within a dashboardBusiness CaseThis plugin enables the user to embed web content (such as documents, data, websites,images, audio and video files) in the da...

intapiuser by Community Team Member
  • 1526 Views
  • 0 comments
  • 1 kudos

'Percent Rank' Functionality For Chart Widgets

Download: Percent RankIntroduction The following article describes steps needed in order to add a 'Percent Rank' functionality to a numeric field in a chart widget.Purpose/BenefitsThe percent rank function can be used to evaluate the relative standin...

intapiuser by Community Team Member
  • 444 Views
  • 0 comments
  • 0 kudos

Route Map Widget

Download: RouteMap Introduction This project is for a Sisense plugin, which generates a new widget type for point to point routing using MapboxGL.  This map takes a series of origins and destinations (as lat/long), and draws lines connecting them on...

intapiuser by Community Team Member
  • 693 Views
  • 0 comments
  • 0 kudos

Conditionally Hide Widgets

The example below uses a "peer group" use case, where a company which facilitates customer peer benchmarking, does not want users to compare themselves to fewer than 10 companies.The first widget, either an indicator or BloX widget, will supply the c...

intapiuser by Community Team Member
  • 1311 Views
  • 0 comments
  • 0 kudos

Widget Borders

In order to add borders between the widgets at the dashboard you will need to use the following script:/ Dashboard script var widgetPadding = '0px 3px 0px 0px'; var widgetBorderRStyle = 'solid'; var widgetBorderColor = '#f2f2f2'; dashboard.on('refre...

intapiuser by Community Team Member
  • 910 Views
  • 0 comments
  • 0 kudos

Adding Custom Menu Items To Dashboards

IntroductionUse the attached sample template to create user define menu items to dashboard. This is very useful if there is a need as an example to provide a link to an online to documentation, or directing the users to another sites.Instructions:Dow...

intapiuser by Community Team Member
  • 344 Views
  • 0 comments
  • 0 kudos

Plugin Dev Tutorial

Intro To Plugins PLUGINS - WHAT AND WHY? While the native visualizations, or widgets, that are provided natively in Sisense cover a wide range of use cases and functionality, some may want to have a very specify use case, interaction or a totally ne...

intapiuser by Community Team Member
  • 2298 Views
  • 0 comments
  • 0 kudos

Exact Legend Positioning

This widget script enables full control over the positioning of the legend within the widget. Possible configuration values:horizontalAlign: 'left', 'center', 'right' verticalAlign: 'top', 'middle', 'bottom' layout: 'horizontal', 'vertical', 'proxi...

intapiuser by Community Team Member
  • 324 Views
  • 0 comments
  • 0 kudos

Disable Markers For A Line

The following script allows you to hide markers for a series (Last Tested: v7.0.1.11006) // Set markers enabled to false for a series function setMarker(array, enabledFlag) { for ( var i = 0; i < array.length; i++) { array[i].marker.enabled = fa...

intapiuser by Community Team Member
  • 348 Views
  • 0 comments
  • 0 kudos

How To Order A Stacked Column Chart Using A BreakBy

Introduction   When adding a break by field to an ordered column chart, the order does not exist anymore.We have created this post in order to workaround this problem. StepsIn order to use the script, you need to follow the next steps:   1. Edit the...

intapiuser by Community Team Member
  • 1501 Views
  • 0 comments
  • 0 kudos

Separating Overlapping Value Labels

Separate and color code different value label series so they don't collide:1. In the widget editor, click on the "Options" icon and select "Edit Script"2. Insert the following script and set the seriesNames and paddingMultiplier parameters to determi...

intapiuser by Community Team Member
  • 327 Views
  • 0 comments
  • 0 kudos

Geo Map - Mapbox GL

Geo Map - Mapbox GLGeo map widget that uses Mapbox GL v1.11.1! (requires Mapbox API TOKEN)The GeoMap comes with a simple GEOJson map of the worlds countries, in future releases support for custom GEOJson files will be added.In order to use the widget...

intapiuser by Community Team Member
  • 832 Views
  • 0 comments
  • 0 kudos

Alter Category Name In The Tooltip

IntroductionThis article will demonstrate how to change the category name displayed in the tooltip for a specific series. In my example, we have a simple line chart that displays the current year's sales per month, along with the values from the past...

intapiuser by Community Team Member
  • 399 Views
  • 0 comments
  • 0 kudos

Create A Plugin To Run Scripts For All Dashboards

Here are the steps: 1) Create a new plugin. 2) Open widget.js for editing. 3) In this file, we'll use the dashboardLoaded event to register the logic when the dashboard finished loading. For example, if we'd like to remove the new widget button if t...

intapiuser by Community Team Member
  • 458 Views
  • 0 comments
  • 0 kudos
Labels