Waterfall
How a total becomes another one.
Code
ts
createChart(host, {
type: "waterfall",
data: [
{
name: "Start",
value: 120,
total: true
},
{
name: "New",
value: 45
},
{
name: "Upsell",
value: 18
},
{
name: "Lost",
value: -32
},
{
name: "End",
value: 151,
total: true
}
]
});Every field is in the API. Change this chart in the playground.