@@ -56,7 +56,7 @@ const StyleTracesPanel = (props, {localize: _}) => (
5656 < TraceAccordion canGroup >
5757 < TextEditor label = { _ ( 'Name' ) } attr = "name" richTextOnly />
5858 < NumericFraction label = { _ ( 'Trace Opacity' ) } attr = "opacity" />
59- < TraceTypeSection name = { _ ( 'Leaves' ) } traceTypes = { [ 'sunburst' ] } mode = "trace" >
59+ < TraceTypeSection name = { _ ( 'Leaves' ) } traceTypes = { [ 'sunburst' , 'treemap' ] } mode = "trace" >
6060 < LevelRendered label = { _ ( 'Start at Level' ) } attr = "level" />
6161 < Numeric label = { _ ( 'Max Depth' ) } attr = "maxdepth" min = { - 1 } step = { 1 } />
6262 < NumericFraction label = { _ ( 'Opacity' ) } attr = "leaf.opacity" />
@@ -99,7 +99,7 @@ const StyleTracesPanel = (props, {localize: _}) => (
9999 < MultiColorPicker label = { _ ( 'Color' ) } attr = "color" />
100100 < TraceTypeSection
101101 name = { _ ( 'Segment Colors' ) }
102- traceTypes = { [ 'pie' , 'sunburst' , 'funnelarea' ] }
102+ traceTypes = { [ 'pie' , 'sunburst' , 'treemap' , ' funnelarea'] }
103103 mode = "trace"
104104 >
105105 < LayoutSection attr = "name" >
@@ -113,6 +113,7 @@ const StyleTracesPanel = (props, {localize: _}) => (
113113 ] }
114114 />
115115 < ColorwayPicker label = { _ ( 'Colors' ) } attr = "sunburstcolorway" />
116+ < ColorwayPicker label = { _ ( 'Colors' ) } attr = "treemapcolorway" />
116117 < Radio
117118 label = { _ ( 'Extended Colors' ) }
118119 attr = "extendsunburstcolors"
@@ -121,6 +122,14 @@ const StyleTracesPanel = (props, {localize: _}) => (
121122 { label : _ ( 'Off' ) , value : false } ,
122123 ] }
123124 />
125+ < Radio
126+ label = { _ ( 'Extended Colors' ) }
127+ attr = "extendtreemapcolors"
128+ options = { [
129+ { label : _ ( 'On' ) , value : true } ,
130+ { label : _ ( 'Off' ) , value : false } ,
131+ ] }
132+ />
124133 < ColorwayPicker label = { _ ( 'Colors' ) } attr = "funnelareacolorway" />
125134 < Radio
126135 label = { _ ( 'Extended Colors' ) }
@@ -879,6 +888,23 @@ const StyleTracesPanel = (props, {localize: _}) => (
879888 < MultiColorPicker label = { _ ( 'Line Color' ) } attr = "link.line.color" />
880889 < Numeric label = { _ ( 'Line Width' ) } attr = "link.line.width" min = { 0 } />
881890 </ PlotlySection >
891+ < PlotlySection name = { _ ( 'Path Bar' ) } attr = "pathbar.visible" >
892+ < Radio
893+ attr = "pathbar.visible"
894+ options = { [
895+ { label : _ ( 'Show' ) , value : true } ,
896+ { label : _ ( 'Hide' ) , value : false } ,
897+ ] }
898+ />
899+ < Radio
900+ attr = "pathbar.side"
901+ options = { [
902+ { label : _ ( 'Top' ) , value : 'top' } ,
903+ { label : _ ( 'Bottom' ) , value : 'bottom' } ,
904+ ] }
905+ label = { _ ( 'Side' ) }
906+ />
907+ </ PlotlySection >
882908 < PlotlySection name = { _ ( 'Hover/Tooltip' ) } >
883909 < HoveronDropdown attr = "hoveron" label = { _ ( 'Hover on' ) } />
884910 < Radio
0 commit comments