Waterfallchart reference

To represent the different component in a result

Overview

📖 Learn More about the waterfallchart here.

📖 Find examples on the waterfallchart here.

Options

Available in studio

parameters label type optional description choices
label   string   Column containing the text label to display  
type Groups type/levels string   Column containing the relationship for each element (Data should look like: -1/parent/child)  
reverseSentiment Reverse sentiment color boolean True    
hideParenthesisEvolution Hide legend evolution in value boolean True    
variation   string True Column containing the variation value (Display below the main valueneed to be given for both inner and outer drill levels)  
groups Parent Group label string True Column containing the parent group label (For drill configuration only)  
value   string   Column containing the value  
steps Add steps array True (Create intermediate stepsThis will rely on the bars’ order)  

Only in code mode

parameters label type optional description choices
comment   string      
labelsOrder   oneOf   Select your dataset column  
style   string True    
sublabel   string True Column name containing the sublabel  
source   string      
zeroBaseline   oneOf   (Let Toucan find out the best baseline for your chart) [u’auto’]
groupsOrder   oneOf   Select your dataset column  

Code mode sample

charts: [
  {
    "chartType": "waterfallchart",
    "value": "",
    "label": ""
  }
]