File tree 2 files changed +50
-62
lines changed
2 files changed +50
-62
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 10
10
11
11
var colorAttrs = require ( '../../../components/color/attributes' ) ;
12
12
var constants = require ( '../constants' ) ;
13
- var geoAxesAttrs = require ( './axis_attributes' ) ;
14
13
var overrideAll = require ( '../../../plot_api/edit_types' ) . overrideAll ;
15
14
15
+ var geoAxesAttrs = {
16
+ range : {
17
+ valType : 'info_array' ,
18
+ role : 'info' ,
19
+ items : [
20
+ { valType : 'number' } ,
21
+ { valType : 'number' }
22
+ ] ,
23
+ description : [
24
+ 'Sets the range of this axis (in degrees),' ,
25
+ ] . join ( ' ' )
26
+ } ,
27
+ showgrid : {
28
+ valType : 'boolean' ,
29
+ role : 'info' ,
30
+ dflt : false ,
31
+ description : 'Sets whether or not graticule are shown on the map.'
32
+ } ,
33
+ tick0 : {
34
+ valType : 'number' ,
35
+ role : 'info' ,
36
+ description : [
37
+ 'Sets the graticule\'s starting tick longitude/latitude.'
38
+ ] . join ( ' ' )
39
+ } ,
40
+ dtick : {
41
+ valType : 'number' ,
42
+ role : 'info' ,
43
+ description : [
44
+ 'Sets the graticule\'s longitude/latitude tick step.'
45
+ ] . join ( ' ' )
46
+ } ,
47
+ gridcolor : {
48
+ valType : 'color' ,
49
+ role : 'style' ,
50
+ dflt : colorAttrs . lightLine ,
51
+ description : [
52
+ 'Sets the graticule\'s stroke color.'
53
+ ] . join ( ' ' )
54
+ } ,
55
+ gridwidth : {
56
+ valType : 'number' ,
57
+ role : 'style' ,
58
+ min : 0 ,
59
+ dflt : 1 ,
60
+ description : [
61
+ 'Sets the graticule\'s stroke width (in px).'
62
+ ] . join ( ' ' )
63
+ }
64
+ } ;
16
65
17
66
module . exports = overrideAll ( {
18
67
domain : {
You can’t perform that action at this time.
0 commit comments