@@ -33,7 +33,6 @@ import {
33
33
GroupCreator ,
34
34
} from '../components' ;
35
35
import {
36
- BinningNumeric ,
37
36
BinningDropdown ,
38
37
NumericReciprocal ,
39
38
ShowInLegend ,
@@ -85,6 +84,24 @@ const StyleTracesPanel = (props, {localize: _}) => (
85
84
/>
86
85
</ LayoutSection >
87
86
</ TraceTypeSection >
87
+ < PlotlySection name = { _ ( 'Pie Title' ) } attr = "title" >
88
+ < TextEditor label = { _ ( 'Name' ) } attr = "title" />
89
+ < Dropdown
90
+ label = { 'Title Position' }
91
+ attr = "titleposition"
92
+ options = { [
93
+ { label : _ ( 'Top Left' ) , value : 'top left' } ,
94
+ { label : _ ( 'Top Center' ) , value : 'top center' } ,
95
+ { label : _ ( 'Top Right' ) , value : 'top right' } ,
96
+ { label : _ ( 'Middle Center' ) , value : 'middle center' } ,
97
+ { label : _ ( 'Bottom Left' ) , value : 'bottom left' } ,
98
+ { label : _ ( 'Bottom Center' ) , value : 'bottom center' } ,
99
+ { label : _ ( 'Bottom Right' ) , value : 'bottom right' } ,
100
+ ] }
101
+ />
102
+ < FontSelector label = { _ ( 'Typeface' ) } attr = "titlefont.family" clearable = { false } />
103
+ < Numeric label = { _ ( 'Font Size' ) } attr = "titlefont.size" units = "px" />
104
+ </ PlotlySection >
88
105
< PlotlySection name = { _ ( 'Values' ) } >
89
106
< BinningDropdown label = { _ ( 'Histogram Function' ) } attr = "histfunc" />
90
107
< Dropdown
@@ -176,23 +193,14 @@ const StyleTracesPanel = (props, {localize: _}) => (
176
193
/>
177
194
</ PlotlySection >
178
195
< PlotlySection name = { _ ( 'Binning' ) } >
179
- < Radio
180
- label = { _ ( 'X Binning' ) }
181
- attr = "autobinx"
182
- options = { [ { label : _ ( 'Auto' ) , value : true } , { label : _ ( 'Custom' ) , value : false } ] }
183
- />
184
- < BinningNumeric label = { _ ( 'X Bin Start' ) } attr = "xbins.start" axis = "x" />
185
- < BinningNumeric label = { _ ( 'X Bin End' ) } attr = "xbins.end" axis = "x" />
186
- < BinningNumeric label = { _ ( 'X Bin Size' ) } attr = "xbins.size" axis = "x" />
196
+ < Numeric label = { _ ( 'X Bin Start' ) } attr = "xbins.start" axis = "x" />
197
+ < Numeric label = { _ ( 'X Bin End' ) } attr = "xbins.end" axis = "x" />
198
+ < Numeric label = { _ ( 'X Bin Size' ) } attr = "xbins.size" axis = "x" />
187
199
< Numeric label = { _ ( 'Max X Bins' ) } attr = "nbinsx" />
188
- < Radio
189
- label = { _ ( 'Y Binning' ) }
190
- attr = "autobiny"
191
- options = { [ { label : _ ( 'Auto' ) , value : true } , { label : _ ( 'Custom' ) , value : false } ] }
192
- />
193
- < BinningNumeric label = { _ ( 'Y Bin Start' ) } attr = "ybins.start" axis = "y" />
194
- < BinningNumeric label = { _ ( 'Y Bin End' ) } attr = "ybins.end" axis = "y" />
195
- < BinningNumeric label = { _ ( 'Y Bin Size' ) } attr = "ybins.size" axis = "y" />
200
+
201
+ < Numeric label = { _ ( 'Y Bin Start' ) } attr = "ybins.start" axis = "y" />
202
+ < Numeric label = { _ ( 'Y Bin End' ) } attr = "ybins.end" axis = "y" />
203
+ < Numeric label = { _ ( 'Y Bin Size' ) } attr = "ybins.size" axis = "y" />
196
204
< Numeric label = { _ ( 'Max Y Bins' ) } attr = "nbinsy" />
197
205
</ PlotlySection >
198
206
< PlotlySection label = { _ ( 'Bar Position' ) } >
@@ -602,6 +610,11 @@ const StyleTracesPanel = (props, {localize: _}) => (
602
610
</ PlotlySection >
603
611
< PlotlySection name = { _ ( 'On Hover' ) } >
604
612
< HoverInfo attr = "hoverinfo" label = { _ ( 'Values Shown On Hover' ) } />
613
+ < Radio
614
+ label = { _ ( 'Split labels' ) }
615
+ attr = "hoverlabel.split"
616
+ options = { [ { label : _ ( 'Yes' ) , value : true } , { label : _ ( 'No' ) , value : false } ] }
617
+ />
605
618
< VisibilitySelect
606
619
attr = "contour.show"
607
620
label = { _ ( 'Show Contour' ) }
0 commit comments