From ec96a37ab00e76295f7651ba93d35d72799868c1 Mon Sep 17 00:00:00 2001 From: Brent Ely Date: Sun, 22 Jan 2023 19:38:17 -0600 Subject: [PATCH] added new `cap` & `lineCap` props --- demos/modules/demo_chart.mjs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/demos/modules/demo_chart.mjs b/demos/modules/demo_chart.mjs index 14f76be45..ce3eccd3b 100644 --- a/demos/modules/demo_chart.mjs +++ b/demos/modules/demo_chart.mjs @@ -3,8 +3,8 @@ * AUTH: Brent Ely (https://github.com/gitbrent/) * DESC: Common test/demo slides for all library features * DEPS: Used by various demos (./demos/browser, ./demos/node, etc.) - * VER.: 3.11.0 - * BLD.: 20220806 + * VER.: 3.12.0 + * BLD.: 20230116 */ import { BASE_TABLE_OPTS, BASE_TEXT_OPTS_L, BASE_TEXT_OPTS_R, FOOTER_TEXT_OPTS, IMAGE_PATHS, TESTMODE } from "./enums.mjs"; @@ -890,8 +890,8 @@ function genSlide07(pptx) { valAxisMaxVal: 1, barDir: "bar", axisLabelFormatCode: "#%", - catGridLine: { color: "D8D8D8", style: "dash", size: 1 }, - valGridLine: { color: "D8D8D8", style: "dash", size: 1 }, + catGridLine: { color: "D8D8D8", style: "dash", size: 1, cap: "round" }, + valGridLine: { color: "D8D8D8", style: "dash", size: 1, cap: "square" }, catAxisLineShow: false, valAxisLineShow: false, barGrouping: "stacked", @@ -1018,6 +1018,7 @@ function genSlide10(pptx) { y: idx < 3 ? 0.5 : idx < 6 ? 2.85 : 5.1, w: 4.25, h: 2.25, + lineCap: 'round', lineDataSymbol: opt, lineDataSymbolSize: idx == 5 ? 9 : idx == 6 ? 12 : null, chartColors: COLORS_VIVID,