Blox
cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

BloX Template: Gradient Title Bar Indicator

The Gradient color in bar/column/line/area chart script contains a styled title bar of 3 KPI with a gradient background. Installation Instructions: 1. Download the attached template 2. Extract the json file into your BloX template directory: C:\Pro...

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

Percent Complete Circle And Indicator

This is a purely HTML, SVG, and CSS widget requiring no Javascript.The style of the guage is:.circular-chart { display: block; margin: 10px auto; max-width: 80%; max-height: 250px; } .circle-bg { fill: none; stroke: #eee; stroke-width: 3.8; } .circ...

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

Add Non-Repeating Header To List Of Items

Question: How to add a main header row that contains the column title of each row of data?Solution: You can solve it with a widget script, please follow these steps:1. Add a class to your "title", or the part that you only want to repeat once (in our...

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

Creating A Filter From A Text Box

The information in a blox text box can be used to create a filter.I ran into a use case wherein the client wanted to create a filter based on a list of values in csv file. The filter dimension has thousands of options and users would often need to se...

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

Highlight Selected BloX Filter Button

1. Apply this widget script (found in the widget menu) to the BloX widget:var ChooseYourHighlightColor = '#00cee6'; widget.on('ready',function(widget, args){ var filterToFind = widget.metadata.panels[0].items[0].jaql.dim; var dashboardFilters = ...

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

BloX Filter Buttons For Trailing X Months

Use this Date Offset Filter Buttons template to add buttons to your dashboards that allow your users to filter the dashboard by a month offset.After importing the template, you can modify the JAQL in the Editor section to provide the table and column...

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

BloX Auto Slider

Disclaimer: Please note that this blog post contains one possible custom workaround solution for users with similar use cases. We cannot guarantee that the custom code solution described in this post will work in every scenario or with every Sisense ...

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

Alternating BloX Background Color

Add the following css to the style tag of the main blox property.Modify the widgetid value to match your blox widget ID. The ID is the text after /widgets/ in the URL bar.Modify the color to be whatever color you'd like to alternate between.widget[wi...

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

Creating A Quiz In Blox

Today we will create a quiz widget in Blox that will looks something like this:This is a blox exercise to show a simple use case for custom actions.The first step is creating a data source file.You can create some csv with have some questions answers...

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

BloX - A Technical Introduction

BloX - A Technical Introduction To start, download the attached file ‘BloXTutorial-Styling.dash’ file and import this into your Sisense environment. This dashboard uses the ‘Sample Ecommerce’ data model and contains all iterations of the BloX widget...

alexfrisbie_0-1675282038054.png alexfrisbie_1-1675282038020.png alexfrisbie_2-1675282038037.png

How to create a Pop Ups

Question How can I trigger a popup every time I open a dashboard using BloX or JS, as shown in the picture?     Answer You already have the code for the popup itself then you can easily wrap it as a plugin and use the "dashboardLoaded" event to tr...

Community_Admin_0-1634634622296.png

Any Way To Hide Carousel Navigator Arrows?

Question When using the Indicator Sparkling template, once I add an Item (dimension) for the sparkline, the carousel navigator arrows appear. Since they are not needed, I would like to hide them.  Is there a way to do that? Answer You can use the ...

Set Default Carousel "Index" To Value Of Filter

Question Is there a way to set the default panel of the BLOX widget to the month that is currently set in the FilterDash month? That was when a user loads the page, they don't get confused by the mixed messages of BloX vs rest of widgets? Answer Y...

BloX Widget On Click

Question I am trying to make it a widget button and switch the dashboard once it was clicked. Is there a way to achieve it? Answer You can use this script. It uses the standard BloX OpenURL action and will build and style a web page opening button...

Custom Action To Scroll-Down To A Specific Widget

Question Would it be possible to add a scroll to a widget location action? So I have a top panel that has an action of: "navigate to Actions widget"? Answer You'll need to create a custom action and include something like:  var elmnt = document.ge...

Use BloX Script In PDF

Question When applying the script in BloX - the change is not applied in PDF. The example of the script:   This looks fine in the BloX editor, Dashboard, and PDF preview:   But the script is not applied to the exported PDF: Answer Replacing the...

Community_Admin_0-1634632085681.png Community_Admin_1-1634632085719.png Community_Admin_2-1634632085698.png Community_Admin_3-1634632085648.png

Custom Script For Blox Panel Name

Question Is there a way to tie a default filter (set to "all") so that instead of Blox just displaying the top name in from the data, it triggers a custom phrase instead (like "Aggregate")? Answer Here's a simple way to do something of the kind!  ...

Community_Admin_0-1634631706847.png Community_Admin_1-1634631706712.png

JS Charting Gauge in Blox

Question How can I create a Charting Gauge in Blox? Answer You will need 5 items; A field for indicating the pointer-value. In the example the number in the middle and the yellow markerGauge minimumGauge maximumOne and Two indicate the chart inte...

Community_Admin_0-1634631355690.png

How to add "Turn on/off" toggle for grand totals

Question: Viewers don't have the ability to show and hide grand totals which I want them to be able to do. Is it possible to achieve with Blox functionality? Answer: The pivot widget's "style" attribute includes settings for grand totals, and you ...

Community_Admin_0-1634569253896.png