File tree Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "data" : [
3
+ {
4
+ "type" : " histogram" ,
5
+ "x" : [
6
+ " A" ,
7
+ " A" ,
8
+ " B"
9
+ ]
10
+ },
11
+ {
12
+ "type" : " histogram" ,
13
+ "x" : [
14
+ " A" ,
15
+ " A" ,
16
+ " C"
17
+ ]
18
+ },
19
+ {
20
+ "type" : " histogram" ,
21
+ "x" : [
22
+ " B" ,
23
+ " B"
24
+ ]
25
+ }
26
+ ],
27
+ "layout" : {
28
+ "barmode" : " stack" ,
29
+ "xaxis" : {
30
+ "categoryorder" : " total descending"
31
+ },
32
+ "width" : 300 ,
33
+ "height" : 200 ,
34
+ "margin" : {
35
+ "t" : 40 ,
36
+ "b" : 20 ,
37
+ "l" : 20 ,
38
+ "r" : 20
39
+ }
40
+ }
41
+ }
Original file line number Diff line number Diff line change @@ -737,6 +737,7 @@ var list = [
737
737
'matching-missing-axes' ,
738
738
'mathjax' ,
739
739
'mirror-all-vs-allticks' ,
740
+ 'missing-category-order' ,
740
741
'multicategory' ,
741
742
'multicategory_histograms' ,
742
743
'multicategory-inside-ticks' ,
@@ -1809,6 +1810,7 @@ figs['matching-categories'] = require('@mocks/matching-categories');
1809
1810
// figs['matching-missing-axes'] = require('@mocks/matching-missing-axes');
1810
1811
// figs['mathjax'] = require('@mocks/mathjax');
1811
1812
figs [ 'mirror-all-vs-allticks' ] = require ( '@mocks/mirror-all-vs-allticks' ) ;
1813
+ figs [ 'missing-category-order' ] = require ( '@mocks/missing-category-order' ) ;
1812
1814
figs [ 'multicategory' ] = require ( '@mocks/multicategory' ) ;
1813
1815
figs [ 'multicategory_histograms' ] = require ( '@mocks/multicategory_histograms' ) ;
1814
1816
figs [ 'multicategory-inside-ticks' ] = require ( '@mocks/multicategory-inside-ticks' ) ;
You can’t perform that action at this time.
0 commit comments