We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbbcf91 commit 8ba0712Copy full SHA for 8ba0712
src/components/legend/attributes.js
@@ -2,7 +2,7 @@
2
3
var fontAttrs = require('../../plots/font_attributes');
4
var colorAttrs = require('../color/attributes');
5
-
+var Drawing = require('../drawing');
6
7
module.exports = {
8
bgcolor: {
@@ -79,12 +79,12 @@ module.exports = {
79
},
80
itemsymbol: {
81
valType: 'enumerated',
82
- values: ['trace', 'circle'],
+ values: ['trace', ...Drawing.symbolList],
83
dflt: 'trace',
84
editType: 'legend',
85
description: [
86
'Determines if the legend items symbols use the symbol of the first point in each *trace*',
87
- 'or use a circle symbol.'
+ 'or the specified symbol name.'
88
].join(' ')
89
90
itemwidth: {
0 commit comments