@@ -11,7 +11,6 @@ import {
1111 SubplotCreator ,
1212 TraceAccordion ,
1313 TraceSelector ,
14- TextEditor ,
1514 Numeric ,
1615 TraceTypeSection ,
1716} from '../components' ;
@@ -23,7 +22,6 @@ import {
2322const GraphCreatePanel = ( props , { localize : _ } ) => {
2423 return (
2524 < TraceAccordion canAdd excludeFits >
26- < TextEditor label = { _ ( 'Name' ) } attr = "name" richTextOnly />
2725 < TraceSelector label = { _ ( 'Type' ) } attr = "type" show />
2826
2927 < PlotlySection name = { _ ( 'Data' ) } >
@@ -32,14 +30,6 @@ const GraphCreatePanel = (props, {localize: _}) => {
3230 < DataSelector label = { _ ( 'Values' ) } attr = "values" />
3331 < DataSelector label = { _ ( 'Labels' ) } attr = "labels" />
3432 < DataSelector label = { _ ( 'Locations' ) } attr = "locations" />
35- < Radio
36- label = { _ ( 'Orientation' ) }
37- attr = "orientation"
38- options = { [
39- { label : _ ( 'Vertical' ) , value : 'v' } ,
40- { label : _ ( 'Horizontal' ) , value : 'h' } ,
41- ] }
42- />
4333
4434 < DataSelector
4535 label = { {
@@ -65,6 +55,14 @@ const GraphCreatePanel = (props, {localize: _}) => {
6555 } }
6656 attr = "z"
6757 />
58+ < Radio
59+ label = { _ ( 'Orientation' ) }
60+ attr = "orientation"
61+ options = { [
62+ { label : _ ( 'Vertical' ) , value : 'v' } ,
63+ { label : _ ( 'Horizontal' ) , value : 'h' } ,
64+ ] }
65+ />
6866 < HistogramInfoVertical >
6967 { _ (
7068 'Note: in vertical orientation, X values are used for bins and Y values for weights.'
0 commit comments