Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove axis attribute duplication
  • Loading branch information
apalchys committed Aug 24, 2017
commit be11c03708fdb07f550fb9c7cb186d24e06d0327
27 changes: 2 additions & 25 deletions src/traces/carpet/axis_attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
var extendFlat = require('../../lib/extend').extendFlat;
var fontAttrs = require('../../plots/font_attributes');
var colorAttrs = require('../../components/color/attributes');
var axesAttrs = require('../../plots/cartesian/layout_attributes')

module.exports = {
color: {
Expand Down Expand Up @@ -265,31 +266,7 @@ module.exports = {
'*%H~%M~%S.%2f* would display *09~15~23.46*'
].join(' ')
},
tickformatstops: {
_isLinkedToArray: 'tickformatstop',

dtickrange: {
valType: 'info_array',
role: 'info',
items: [
{valType: 'any'},
{valType: 'any'}
],
description: [
'range [*min*, *max*], where *min*, *max* - dtick values',
'which describe some zoom level, it is possible to omit *min*',
'or *max* value by passing *null*'
].join(' ')
},
value: {
valType: 'string',
dflt: '',
role: 'style',
description: [
'string - dtickformat for described zoom level, the same as *tickformat*'
].join(' ')
}
},
tickformatstops: axesAttrs.tickformatstops,
categoryorder: {
valType: 'enumerated',
values: [
Expand Down