@@ -12,24 +12,24 @@ var barAttrs = require('../bar/attributes');
1212var lineAttrs = require ( '../scatter/attributes' ) . line ;
1313var extendFlat = require ( '../../lib/extend' ) . extendFlat ;
1414
15- function directionAttrs ( ) {
15+ function directionAttrs ( dirTxt ) {
1616 return {
1717 marker : {
1818 color : extendFlat ( { } , barAttrs . marker . color , {
1919 arrayOk : false ,
2020 editType : 'style' ,
21- description : ''
21+ description : 'Sets the marker color of all ' + dirTxt + ' values. '
2222 } ) ,
2323 line : {
2424 color : extendFlat ( { } , barAttrs . marker . line . color , {
2525 arrayOk : false ,
2626 editType : 'style' ,
27- description : ''
27+ description : 'Sets the line color of all ' + dirTxt + ' values. '
2828 } ) ,
2929 width : extendFlat ( { } , barAttrs . marker . line . width , {
3030 arrayOk : false ,
3131 editType : 'style' ,
32- description : ''
32+ description : 'Sets the line width of all ' + dirTxt + ' values. '
3333 } ) ,
3434 editType : 'style' ,
3535 } ,
@@ -88,9 +88,9 @@ module.exports = {
8888 offset : barAttrs . offset ,
8989 width : barAttrs . width ,
9090
91- increasing : directionAttrs ( ) ,
92- decreasing : directionAttrs ( ) ,
93- totals : directionAttrs ( ) ,
91+ increasing : directionAttrs ( 'increasing' ) ,
92+ decreasing : directionAttrs ( 'decreasing' ) ,
93+ totals : directionAttrs ( 'intermediate sums and total' ) ,
9494
9595 connector : {
9696 line : {
@@ -102,7 +102,7 @@ module.exports = {
102102 mode : {
103103 valType : 'enumerated' ,
104104 values : [ 'spanning' , 'between' ] ,
105- dflt : 'spanning ' ,
105+ dflt : 'between ' ,
106106 role : 'info' ,
107107 editType : 'plot' ,
108108 description : [
0 commit comments