Slopegraph reference

Analyze the evolution between 2 situations

Overview

📖 Learn More about the slopegraph here.

📖 Find examples on the slopegraph here.

Options

Available in studio

parameters label type optional description choices
evolution   string True Column containing variation values  
date   string   Column containing the time dimension  
dateFormat Date display format string True Describe how to display the date in the legend. Use d3 time format. i.e. ‘%Y’ to display just years  
value   string   Column containing the value to be displayed by the lines  
label   string   Column containing the label represented by the lines  

Only in code mode

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

Code mode sample

charts: [
  {
    "date": "",
    "chartType": "slopegraph",
    "value": "",
    "label": ""
  }
]