Salta al contenuto

Documentation BI4H (EN)Documentation BI4H (EN)

  • Quick Start
  • Navigation
  • Interactions
  • Charts
  • Tables
  • Filters
  • Modules
  • Data Explorer
  • Self service
  • Quick Start
  • Navigation
  • Interactions
  • Charts
  • Tables
  • Filters
  • Modules
  • Data Explorer
  • Self service
  • Quick start

    • Start up

    • Profile

    • Top tool bar

      • Change theme layout
      • Language selection
    • Elements of BI4H

    • What is the HUB

    • What is the APP

    • What is a module

  • Navigation

    • Tiles & child buttons

    • Navigation bar

    • Stepper

    • Sidenav

    • Bookmarks

    • Schedule

    • Global search

  • Interactions

    • Point & click interaction

    • Change chart type

    • Export widgets

    • Fullscreen

    • Additional details

    • Modal windows

  • Charts

    • Lines

    • Colums

    • Composed lines-columns

    • Bars

    • Area

    • Bubble

    • Pie

    • Heatmap

    • Funnel

    • Treemap

    • Geographical maps

    • Gauge

    • Scatter plot

    • Range

    • Sankey

    • Radar

  • Grids

    • Grids option

    • Simple grids

    • Group grids

    • Pivot

  • Filters

    • Smart Filter Bar

    • Filter layout

      • Single filter
      • Group filter
      • Expanded filter
      • Tree filter
      • Builder filter
      • Search filter
    • Filter types

    • Filter options

    • Interactions

  • Modules

    • Numbers

    • Tab

    • Buttons

    • List Indicator

    • Street maps

    • Aid to interpretation

  • Data Explorer

    • Introduction

    • Configuration

      • Edit module -> Generals
      • Edit module -> Aspect
      • Edit module -> Sharing
    • Create a new query

      • Add fields from Univers
      • Add fields from tables/snippets
      • Conditions sections
      • Advanced mode
    • Existing query

      • Run an existing query
      • Create a query using existing query
    • Sharing

      • Share a query
      • Run a shared query
    • Export results

    • Query category

  • Self service

    • Your first dashboard

      • Adding a new page to the app
      • Adding modules to the page
    • Edit Module -> DATA tab

      • Dimension & Alternative Dimension
      • Measures & Alternatives Measures
      • Categories for alternative data
      • Name of dimensions & Measures
      • Sorting of Dimensions & Measures
      • Visibility of Dimensions & Measures
      • Measures Formatting
      • Measures Threshold
    • Edit Module -> ASPECT tab

      • Title customization
      • Show Legend & Customization
      • Box colors
      • Split module
      • Box Options
      • X Axis
      • Y Axis
      • Chart Colors
      • Type (Rotate, Invert, stack)
      • Zoom
      • Tooltip
      • Average
      • Values
      • Change type
      • Other (Aspect)
    • Edit Module -> INTERACTIVITY tab

      • Action
      • Filters
      • Data
      • Other (Interactivity)
    • Edit page - Generals tab

    • Edit page - Options tab

      • Options (Page)
      • Filters (Page)
    • Edit page - Info tab

    • Edit page - Other tab

    • Rendering examples

      • Column chart combined with a line
      • Stacked chart
      • Chart with opposite axis
      • Chart with a constant line
  1. Docs
  2. Self service
  3. Title customization

Title customization

Reading time:

Adding a standard title to the module

Adding a customized title by dimension to the module

e.g. If you want to change the title according to the activated dimension.

To achieve this,

  1. Get fields used in the dimension and the alternative dimension

2 : Add them to Customized Function, here is a example of code.

function  ( dimensions, measures, categories, allData, filters, totalCount ) 
{ if (dimensions[0].field == 'stay_eta_ent' ) 
    { return 'Number of Stays by Entry Facility' ; } 
  if (dimensions[0].field == 'stay_srv_ent_desc' ) 
    { return 'Number of Stays by Entry Ward' ; } 
}

Adding a customized title by measure to the module

If you want to change the title according to the activated measure , here is a example of code for customized function.

function  ( dimensions, measures, categories, allData, filters, totalCount ) 
{ if (measures[0].field == 'moy_stay_dms' ) 
  { return 'ADS by Entry Facility' ; } 
  if (measures[0].field == 'sum_stay_dms' ) 
  { return 'Duration of Stay by Entry Facility' ; } 
}

Adding a customized title by measure category to the module

If you want to change the title according to the activated measure category ,

here is the example of code to add to the customized function.

function  ( dimensions, measures, categories, allData, filters, totalCount ) 
{
 let title = '' ; 
 categories.forEach( function (item ) 
   {if (item.field == measures[0].category) 
       {title += item['name'] + ' by Date' ; } 
   }); 
  return title;
}

Add a subtitle

Enable 'Tooltip Subtitle' if you want the subtitle show as a tooltip.

Last update: 25 November 2024
Views: 201

© 2025 Documentation BI4H (EN)

Powered by WordPress

All'inizio ↑ Su ↑