Skip to content

Commit 8b0bb9c

Browse files
committed
Added custom stroke for Area Chart
1 parent 3d89d21 commit 8b0bb9c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

public/app.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/areaChart.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ const areaChart = () => {
5353

5454
colors: [component.get('areaChartModel.color') || '#2E93fA'],
5555

56-
stroke: {
57-
curve: 'straight'
58-
},
56+
stroke: component.get('areaChartModel.stroke') || {},
5957

6058
title: {
6159
text: title,

0 commit comments

Comments
 (0)