File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ var scatterAttrs = require('../scatter/attributes');
5
5
var axisHoverFormat = require ( '../../plots/cartesian/axis_format_attributes' ) . axisHoverFormat ;
6
6
var colorScaleAttrs = require ( '../../components/colorscale/attributes' ) ;
7
7
8
+ var sortedObjectKeys = require ( '../../lib/sorted_object_keys' ) ;
8
9
var extendFlat = require ( '../../lib/extend' ) . extendFlat ;
9
10
var overrideAll = require ( '../../plot_api/edit_types' ) . overrideAll ;
10
11
var DASHES = require ( './constants' ) . DASHES ;
@@ -59,7 +60,7 @@ var attrs = module.exports = overrideAll({
59
60
} ,
60
61
dash : {
61
62
valType : 'enumerated' ,
62
- values : Object . keys ( DASHES ) ,
63
+ values : sortedObjectKeys ( DASHES ) ,
63
64
dflt : 'solid' ,
64
65
description : 'Sets the style of the lines.'
65
66
}
Original file line number Diff line number Diff line change @@ -49288,12 +49288,12 @@
49288
49288
"editType": "calc",
49289
49289
"valType": "enumerated",
49290
49290
"values": [
49291
- "solid",
49292
- "dot",
49293
49291
"dash",
49294
- "longdash",
49295
49292
"dashdot",
49296
- "longdashdot"
49293
+ "dot",
49294
+ "longdash",
49295
+ "longdashdot",
49296
+ "solid"
49297
49297
]
49298
49298
},
49299
49299
"editType": "calc",
@@ -54147,12 +54147,12 @@
54147
54147
"editType": "calc",
54148
54148
"valType": "enumerated",
54149
54149
"values": [
54150
- "solid",
54151
- "dot",
54152
54150
"dash",
54153
- "longdash",
54154
54151
"dashdot",
54155
- "longdashdot"
54152
+ "dot",
54153
+ "longdash",
54154
+ "longdashdot",
54155
+ "solid"
54156
54156
]
54157
54157
},
54158
54158
"editType": "calc",
You can’t perform that action at this time.
0 commit comments