Skip to content

Commit

Permalink
added new cap & lineCap props
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbrent committed Jan 23, 2023
1 parent 4e9b72c commit ec96a37
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions demos/modules/demo_chart.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ec96a37

Please sign in to comment.