@@ -612,40 +612,6 @@ const StyleTracesPanel = (props, {localize: _}) => (
612
612
options = { [ { label : _ ( 'Yes' ) , value : true } , { label : _ ( 'No' ) , value : false } ] }
613
613
/>
614
614
</ TraceTypeSection >
615
- < PlotlySection name = { _ ( 'Hover/Tooltip' ) } >
616
- < HoveronDropdown attr = "hoveron" label = { _ ( 'Hover on' ) } />
617
- < HoverTemplateSwitch attr = "hovertemplate" label = { _ ( 'Mode' ) } />
618
- < HoverInfo attr = "hoverinfo" label = { _ ( 'Show' ) } />
619
- < HoverTemplateText attr = "hovertemplate" label = { _ ( 'Template' ) } />
620
- < Radio
621
- label = { _ ( 'Split labels' ) }
622
- attr = "hoverlabel.split"
623
- options = { [ { label : _ ( 'Yes' ) , value : true } , { label : _ ( 'No' ) , value : false } ] }
624
- />
625
- < HoverLabelNameLength label = { _ ( 'Trace Name' ) } attr = "hoverlabel.namelength" />
626
- < VisibilitySelect
627
- attr = "contour.show"
628
- label = { _ ( 'Show Contour' ) }
629
- options = { [ { label : _ ( 'Show' ) , value : true } , { label : _ ( 'Hide' ) , value : false } ] }
630
- showOn = { true }
631
- defaultOpt = { false }
632
- >
633
- < MultiColorPicker label = { _ ( 'Contour Color' ) } attr = "contour.color" />
634
- < Numeric label = { _ ( 'Contour Width' ) } attr = "contour.width" />
635
- </ VisibilitySelect >
636
- < Dropdown
637
- label = { _ ( 'Text Alignment' ) }
638
- attr = "hoverlabel.align"
639
- options = { [
640
- { label : _ ( 'Auto' ) , value : 'auto' } ,
641
- { label : _ ( 'Left' ) , value : 'left' } ,
642
- { label : _ ( 'Right' ) , value : 'right' } ,
643
- ] }
644
- clearable = { false }
645
- />
646
- < Text label = { _ ( 'Value Format' ) } attr = "valueformat" />
647
- < Text label = { _ ( 'Value Suffix' ) } attr = "valuesuffix" />
648
- </ PlotlySection >
649
615
< PlotlySection name = { _ ( 'Colorscale' ) } >
650
616
< ColorscalePicker label = { _ ( 'Colorscale' ) } attr = "colorscale" />
651
617
< Radio
@@ -796,6 +762,40 @@ const StyleTracesPanel = (props, {localize: _}) => (
796
762
< MultiColorPicker label = { _ ( 'Line Color' ) } attr = "link.line.color" />
797
763
< Numeric label = { _ ( 'Line Width' ) } attr = "link.line.width" min = { 0 } />
798
764
</ PlotlySection >
765
+ < PlotlySection name = { _ ( 'Hover/Tooltip' ) } >
766
+ < HoveronDropdown attr = "hoveron" label = { _ ( 'Hover on' ) } />
767
+ < HoverTemplateSwitch attr = "hovertemplate" label = { _ ( 'Mode' ) } />
768
+ < HoverInfo attr = "hoverinfo" label = { _ ( 'Show' ) } />
769
+ < HoverTemplateText attr = "hovertemplate" label = { _ ( 'Template' ) } />
770
+ < Radio
771
+ label = { _ ( 'Split labels' ) }
772
+ attr = "hoverlabel.split"
773
+ options = { [ { label : _ ( 'Yes' ) , value : true } , { label : _ ( 'No' ) , value : false } ] }
774
+ />
775
+ < HoverLabelNameLength label = { _ ( 'Trace Name' ) } attr = "hoverlabel.namelength" />
776
+ < VisibilitySelect
777
+ attr = "contour.show"
778
+ label = { _ ( 'Show Contour' ) }
779
+ options = { [ { label : _ ( 'Show' ) , value : true } , { label : _ ( 'Hide' ) , value : false } ] }
780
+ showOn = { true }
781
+ defaultOpt = { false }
782
+ >
783
+ < MultiColorPicker label = { _ ( 'Contour Color' ) } attr = "contour.color" />
784
+ < Numeric label = { _ ( 'Contour Width' ) } attr = "contour.width" />
785
+ </ VisibilitySelect >
786
+ < Dropdown
787
+ label = { _ ( 'Text Alignment' ) }
788
+ attr = "hoverlabel.align"
789
+ options = { [
790
+ { label : _ ( 'Auto' ) , value : 'auto' } ,
791
+ { label : _ ( 'Left' ) , value : 'left' } ,
792
+ { label : _ ( 'Right' ) , value : 'right' } ,
793
+ ] }
794
+ clearable = { false }
795
+ />
796
+ < Text label = { _ ( 'Value Format' ) } attr = "valueformat" />
797
+ < Text label = { _ ( 'Value Suffix' ) } attr = "valuesuffix" />
798
+ </ PlotlySection >
799
799
< TraceTypeSection
800
800
name = { _ ( 'Error Bars X' ) }
801
801
traceTypes = { [ 'scatter' , 'scattergl' , 'scatter3d' , 'bar' ] }
0 commit comments