Skip to content

Commit 8ba0712

Browse files
author
brian.kotek
committed
Add options for all symbols to itemsymbol attribute options list.
1 parent fbbcf91 commit 8ba0712

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/legend/attributes.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
var fontAttrs = require('../../plots/font_attributes');
44
var colorAttrs = require('../color/attributes');
5-
5+
var Drawing = require('../drawing');
66

77
module.exports = {
88
bgcolor: {
@@ -79,12 +79,12 @@ module.exports = {
7979
},
8080
itemsymbol: {
8181
valType: 'enumerated',
82-
values: ['trace', 'circle'],
82+
values: ['trace', ...Drawing.symbolList],
8383
dflt: 'trace',
8484
editType: 'legend',
8585
description: [
8686
'Determines if the legend items symbols use the symbol of the first point in each *trace*',
87-
'or use a circle symbol.'
87+
'or the specified symbol name.'
8888
].join(' ')
8989
},
9090
itemwidth: {

0 commit comments

Comments
 (0)