From b15201fd9ddb1a6ef9c52f55aab928345da8c59e Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sun, 24 May 2026 22:53:19 +0200 Subject: Publish article --- layouts/shortcodes/perf-chart.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'layouts') diff --git a/layouts/shortcodes/perf-chart.html b/layouts/shortcodes/perf-chart.html index ff13130..b47e519 100644 --- a/layouts/shortcodes/perf-chart.html +++ b/layouts/shortcodes/perf-chart.html @@ -3,6 +3,8 @@ {{- $labelsRaw := .Get "labels" -}} {{- $datasetsRaw := .Get "datasets" -}} {{- $xAxisLabel := .Get "xAxisLabel" | default "Time (ms)" -}} +{{- $stackedRaw := .Get "stacked" | default "true" -}} +{{- $stacked := ne $stackedRaw "false" -}} {{/* Load chart configuration */}} {{- $config := site.Data.chart_presets -}} @@ -50,22 +52,24 @@