7
7
*/
8
8
9
9
10
+ var heatmapAttrs = require ( '../heatmap/attributes' ) ;
10
11
var scatterAttrs = require ( '../scatter/attributes' ) ;
11
12
var extendFlat = require ( '../../lib/extend' ) . extendFlat ;
12
13
13
14
var scatterLineAttrs = scatterAttrs . line ;
14
15
15
16
module . exports = {
16
- _composedModules : { // composed module coupling
17
- 'contour' : 'Heatmap' ,
18
- 'histogram2dcontour' : 'Heatmap'
19
- } ,
17
+ z : heatmapAttrs . z ,
18
+ x : heatmapAttrs . x ,
19
+ x0 : heatmapAttrs . x0 ,
20
+ dx : heatmapAttrs . dx ,
21
+ y : heatmapAttrs . y ,
22
+ y0 : heatmapAttrs . y0 ,
23
+ dy : heatmapAttrs . dy ,
24
+ text : heatmapAttrs . text ,
25
+ transpose : heatmapAttrs . transpose ,
26
+ xtype : heatmapAttrs . xtype ,
27
+ ytype : heatmapAttrs . ytype ,
28
+
29
+ zauto : heatmapAttrs . zauto ,
30
+ zmin : heatmapAttrs . zmin ,
31
+ zmax : heatmapAttrs . zmax ,
32
+ colorscale : heatmapAttrs . colorscale ,
33
+ autocolorscale : heatmapAttrs . autocolorscale ,
34
+ reversescale : heatmapAttrs . reversescale ,
35
+ showscale : heatmapAttrs . showscale ,
36
+
37
+ connectgaps : heatmapAttrs . connectgaps ,
38
+
20
39
autocontour : {
21
40
valType : 'boolean' ,
22
41
dflt : true ,
@@ -34,6 +53,7 @@ module.exports = {
34
53
role : 'style' ,
35
54
description : 'Sets the number of contour levels.'
36
55
} ,
56
+
37
57
contours : {
38
58
start : {
39
59
valType : 'number' ,
@@ -77,6 +97,7 @@ module.exports = {
77
97
] . join ( ' ' )
78
98
}
79
99
} ,
100
+
80
101
line : {
81
102
color : extendFlat ( { } , scatterLineAttrs . color , {
82
103
description : [
@@ -92,6 +113,9 @@ module.exports = {
92
113
'where *0* corresponds to no smoothing.'
93
114
] . join ( ' ' )
94
115
} )
116
+ } ,
117
+
118
+ _nestedModules : {
119
+ 'colorbar' : 'Colorbar'
95
120
}
96
121
} ;
97
-
0 commit comments