@@ -55,14 +55,20 @@ class StyleAxesPanel extends Component {
55
55
} ,
56
56
] }
57
57
>
58
- < AxesFold name = { _ ( 'Titles' ) } >
58
+ < AxesFold
59
+ name = { _ ( 'Titles' ) }
60
+ axisFilter = { axis => ! axis . _name . includes ( 'angular' ) }
61
+ >
59
62
< TextEditor attr = "title" />
60
63
< FontSelector label = { _ ( 'Typeface' ) } attr = "titlefont.family" />
61
64
< Numeric label = { _ ( 'Font Size' ) } attr = "titlefont.size" units = "px" />
62
65
< ColorPicker label = { _ ( 'Font Color' ) } attr = "titlefont.color" />
63
66
</ AxesFold >
64
67
65
- < AxesFold name = { _ ( 'Layout' ) } >
68
+ < AxesFold
69
+ name = { _ ( 'Layout' ) }
70
+ axisFilter = { axis => ! axis . _name . includes ( 'radial' ) }
71
+ >
66
72
< Dropdown
67
73
label = { _ ( 'Direction' ) }
68
74
attr = "direction"
@@ -347,7 +353,10 @@ class StyleAxesPanel extends Component {
347
353
</ Section >
348
354
</ AxesFold >
349
355
350
- < AxesFold name = { _ ( 'Range Slider' ) } >
356
+ < AxesFold
357
+ name = { _ ( 'Range Slider' ) }
358
+ axisFilter = { axis => axis . _subplot . includes ( 'xaxis' ) }
359
+ >
351
360
< RangesliderVisible
352
361
attr = "rangeslider.visible"
353
362
options = { [
@@ -371,7 +380,12 @@ class StyleAxesPanel extends Component {
371
380
/>
372
381
</ AxesFold >
373
382
374
- < AxesFold name = { _ ( 'Timescale Buttons' ) } >
383
+ < AxesFold
384
+ name = { _ ( 'Timescale Buttons' ) }
385
+ axisFilter = { axis =>
386
+ axis . _subplot . includes ( 'xaxis' ) && axis . type === 'date'
387
+ }
388
+ >
375
389
< RangeselectorVisible
376
390
attr = "rangeselector.visible"
377
391
options = { [
@@ -471,7 +485,12 @@ class StyleAxesPanel extends Component {
471
485
</ Section >
472
486
</ AxesFold >
473
487
474
- < AxesFold name = { _ ( 'Zoom Interactivity' ) } >
488
+ < AxesFold
489
+ name = { _ ( 'Zoom Interactivity' ) }
490
+ axisFilter = { axis =>
491
+ ! axis . _name . includes ( 'angular' ) && ! axis . _name . includes ( 'radial' )
492
+ }
493
+ >
475
494
< Radio
476
495
attr = "fixedrange"
477
496
options = { [
@@ -481,7 +500,12 @@ class StyleAxesPanel extends Component {
481
500
/>
482
501
</ AxesFold >
483
502
484
- < AxesFold name = { _ ( 'Hover Projections' ) } >
503
+ < AxesFold
504
+ name = { _ ( 'Hover Projections' ) }
505
+ axisFilter = { axis =>
506
+ ! axis . _name . includes ( 'angular' ) && ! axis . _name . includes ( 'radial' )
507
+ }
508
+ >
485
509
< Radio
486
510
attr = "showspikes"
487
511
options = { [
0 commit comments