File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11'use strict' ;
22
3- var annAttrs = require ( '../annotations/attributes ' ) ;
3+ var cartesianConstants = require ( '../../plots/cartesian/constants ' ) ;
44var fontAttrs = require ( '../../plots/font_attributes' ) ;
55var scatterLineAttrs = require ( '../../traces/scatter/attributes' ) . line ;
66var dash = require ( '../drawing/attributes' ) . dash ;
@@ -117,6 +117,10 @@ module.exports = templatedArray('shape', {
117117 xref : {
118118 arrayOk : true ,
119119 valType : 'enumerated' ,
120+ values : [
121+ 'paper' ,
122+ cartesianConstants . idRegex . x . toString ( )
123+ ] ,
120124 editType : 'calc' ,
121125 description : [
122126 "Sets the shape's x coordinate axis." ,
@@ -190,6 +194,10 @@ module.exports = templatedArray('shape', {
190194 yref : {
191195 arrayOk : true ,
192196 valType : 'enumerated' ,
197+ values : [
198+ 'paper' ,
199+ cartesianConstants . idRegex . y . toString ( )
200+ ] ,
193201 editType : 'calc' ,
194202 description : [
195203 "Sets the shape's y coordinate axis." ,
You can’t perform that action at this time.
0 commit comments