Skip to content

Commit f642a52

Browse files
committed
draw labels on new shapes
1 parent f54f102 commit f642a52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/shapes/draw_newshape/newshapes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ module.exports = function newShapes(outlines, dragOptions) {
7777
var newShape = {
7878
editable: true,
7979

80+
label: newStyle.label,
81+
8082
xref: xPaper ? 'paper' : xaxis._id,
8183
yref: yPaper ? 'paper' : yaxis._id,
8284

0 commit comments

Comments
 (0)