Linechart reference

Analyze trends and evolution overtime of one or more KPI

Overview

📖 Learn More about the Linechart here.

📖 Find examples on the Linechart here.

Options

Available in studio

parameters label type optional description choices
sentimentZones   array      
customTimeFormat Custom time format string True (Use d3 time format. i.e. ‘%Y’ to display just years)  
serie serie : multi-linechart string True Column containing the name of the different lines  
defaultSelected Default bar selected string True (‘first’ or ‘last’ are supported for now)  
value   string   Column containing line value  
x   string   Column containing the time dimension  
legend Display legend boolean      

Only in code mode

parameters label type optional description choices
comment   string      
style   string True    
source   string      

Code mode sample

charts: [
  {
    "chartType": "new-linechart",
    "value": "",
    "x": ""
  }
]