-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathscattercarpet_gen.go
2312 lines (2027 loc) · 128 KB
/
scattercarpet_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package grob
// Code generated by go-plotly/generator. DO NOT EDIT.
import (
"encoding/json"
"github.com/MetalBlueberry/go-plotly/pkg/types"
)
var TraceTypeScattercarpet types.TraceType = "scattercarpet"
func (t *Scattercarpet) GetType() types.TraceType {
return TraceTypeScattercarpet
}
func (t *Scattercarpet) MarshalJSON() ([]byte, error) {
// Define the custom JSON structure including the "type" field
type Alias Scattercarpet
return json.Marshal(&struct {
Type types.TraceType `json:"type"`
*Alias
}{
Type: t.GetType(), // Add your desired default value here
Alias: (*Alias)(t), // Embed the original struct fields
})
}
// Scattercarpet Plots a scatter trace on either the first carpet axis or the carpet axis with a matching `carpet` attribute.
type Scattercarpet struct {
// A
// arrayOK: false
// type: data_array
// Sets the a-axis coordinates.
// use types.DataArray to pass any slice of data
// use types.BDataArray to pass data in binary format as provided by numpy
// .schema.traces.scattercarpet.attributes.a
A *types.DataArrayType `json:"a,omitempty"`
// Asrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `a`.
// .schema.traces.scattercarpet.attributes.asrc
Asrc types.StringType `json:"asrc,omitempty"`
// B
// arrayOK: false
// type: data_array
// Sets the b-axis coordinates.
// use types.DataArray to pass any slice of data
// use types.BDataArray to pass data in binary format as provided by numpy
// .schema.traces.scattercarpet.attributes.b
B *types.DataArrayType `json:"b,omitempty"`
// Bsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `b`.
// .schema.traces.scattercarpet.attributes.bsrc
Bsrc types.StringType `json:"bsrc,omitempty"`
// Carpet
// arrayOK: false
// type: string
// An identifier for this carpet, so that `scattercarpet` and `contourcarpet` traces can specify a carpet plot on which they lie
// .schema.traces.scattercarpet.attributes.carpet
Carpet types.StringType `json:"carpet,omitempty"`
// Connectgaps
// arrayOK: false
// type: boolean
// Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.
// .schema.traces.scattercarpet.attributes.connectgaps
Connectgaps types.BoolType `json:"connectgaps,omitempty"`
// Customdata
// arrayOK: false
// type: data_array
// Assigns extra data each datum. This may be useful when listening to hover, click and selection events. Note that, *scatter* traces also appends customdata items in the markers DOM elements
// use types.DataArray to pass any slice of data
// use types.BDataArray to pass data in binary format as provided by numpy
// .schema.traces.scattercarpet.attributes.customdata
Customdata *types.DataArrayType `json:"customdata,omitempty"`
// Customdatasrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `customdata`.
// .schema.traces.scattercarpet.attributes.customdatasrc
Customdatasrc types.StringType `json:"customdatasrc,omitempty"`
// Fill
// arrayOK: false
// default: none
// type: enumerated
// Sets the area to fill with a solid color. Use with `fillcolor` if not *none*. scatterternary has a subset of the options available to scatter. *toself* connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. *tonext* fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like *toself* if there is no trace before it. *tonext* should not be used if one trace does not enclose the other.
// .schema.traces.scattercarpet.attributes.fill
Fill ScattercarpetFill `json:"fill,omitempty"`
// Fillcolor
// arrayOK: false
// type: color
// Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.
// .schema.traces.scattercarpet.attributes.fillcolor
Fillcolor types.Color `json:"fillcolor,omitempty"`
// Hoverinfo
// arrayOK: true
// default: all
// type: flaglist
// Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.
// .schema.traces.scattercarpet.attributes.hoverinfo
Hoverinfo *types.ArrayOK[*ScattercarpetHoverinfo] `json:"hoverinfo,omitempty"`
// Hoverinfosrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `hoverinfo`.
// .schema.traces.scattercarpet.attributes.hoverinfosrc
Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"`
// Hoverlabel
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.hoverlabel
Hoverlabel *ScattercarpetHoverlabel `json:"hoverlabel,omitempty"`
// Hoveron
// arrayOK: false
// default: %!s(<nil>)
// type: flaglist
// Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is *toself* or *tonext* and there are no markers or text, then the default is *fills*, otherwise it is *points*.
// .schema.traces.scattercarpet.attributes.hoveron
Hoveron ScattercarpetHoveron `json:"hoveron,omitempty"`
// Hovertemplate
// arrayOK: true
// type: string
// Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `<extra>` is displayed in the secondary box, for example "<extra>{fullData.name}</extra>". To hide the secondary box completely, use an empty tag `<extra></extra>`.
// .schema.traces.scattercarpet.attributes.hovertemplate
Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"`
// Hovertemplatesrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `hovertemplate`.
// .schema.traces.scattercarpet.attributes.hovertemplatesrc
Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"`
// Hovertext
// arrayOK: true
// type: string
// Sets hover text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b). To be seen, trace `hoverinfo` must contain a *text* flag.
// .schema.traces.scattercarpet.attributes.hovertext
Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"`
// Hovertextsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `hovertext`.
// .schema.traces.scattercarpet.attributes.hovertextsrc
Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"`
// Ids
// arrayOK: false
// type: data_array
// Assigns id labels to each datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type.
// use types.DataArray to pass any slice of data
// use types.BDataArray to pass data in binary format as provided by numpy
// .schema.traces.scattercarpet.attributes.ids
Ids *types.DataArrayType `json:"ids,omitempty"`
// Idssrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `ids`.
// .schema.traces.scattercarpet.attributes.idssrc
Idssrc types.StringType `json:"idssrc,omitempty"`
// Legendgroup
// arrayOK: false
// type: string
// Sets the legend group for this trace. Traces part of the same legend group hide/show at the same time when toggling legend items.
// .schema.traces.scattercarpet.attributes.legendgroup
Legendgroup types.StringType `json:"legendgroup,omitempty"`
// Legendgrouptitle
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.legendgrouptitle
Legendgrouptitle *ScattercarpetLegendgrouptitle `json:"legendgrouptitle,omitempty"`
// Legendrank
// arrayOK: false
// type: number
// Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with `*reversed* `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items.
// .schema.traces.scattercarpet.attributes.legendrank
Legendrank types.NumberType `json:"legendrank,omitempty"`
// Legendwidth
// arrayOK: false
// type: number
// Sets the width (in px or fraction) of the legend for this trace.
// .schema.traces.scattercarpet.attributes.legendwidth
Legendwidth types.NumberType `json:"legendwidth,omitempty"`
// Line
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.line
Line *ScattercarpetLine `json:"line,omitempty"`
// Marker
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.marker
Marker *ScattercarpetMarker `json:"marker,omitempty"`
// Meta
// arrayOK: true
// type: any
// Assigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.
// .schema.traces.scattercarpet.attributes.meta
Meta *types.ArrayOK[*interface{}] `json:"meta,omitempty"`
// Metasrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `meta`.
// .schema.traces.scattercarpet.attributes.metasrc
Metasrc types.StringType `json:"metasrc,omitempty"`
// Mode
// arrayOK: false
// default: markers
// type: flaglist
// Determines the drawing mode for this scatter trace. If the provided `mode` includes *text* then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is *lines+markers*. Otherwise, *lines*.
// .schema.traces.scattercarpet.attributes.mode
Mode ScattercarpetMode `json:"mode,omitempty"`
// Name
// arrayOK: false
// type: string
// Sets the trace name. The trace name appear as the legend item and on hover.
// .schema.traces.scattercarpet.attributes.name
Name types.StringType `json:"name,omitempty"`
// Opacity
// arrayOK: false
// type: number
// Sets the opacity of the trace.
// .schema.traces.scattercarpet.attributes.opacity
Opacity types.NumberType `json:"opacity,omitempty"`
// Selected
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.selected
Selected *ScattercarpetSelected `json:"selected,omitempty"`
// Selectedpoints
// arrayOK: false
// type: any
// Array containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect.
// .schema.traces.scattercarpet.attributes.selectedpoints
Selectedpoints interface{} `json:"selectedpoints,omitempty"`
// Showlegend
// arrayOK: false
// type: boolean
// Determines whether or not an item corresponding to this trace is shown in the legend.
// .schema.traces.scattercarpet.attributes.showlegend
Showlegend types.BoolType `json:"showlegend,omitempty"`
// Stream
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.stream
Stream *ScattercarpetStream `json:"stream,omitempty"`
// Text
// arrayOK: true
// type: string
// Sets text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b). If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels.
// .schema.traces.scattercarpet.attributes.text
Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"`
// Textfont
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.textfont
Textfont *ScattercarpetTextfont `json:"textfont,omitempty"`
// Textposition
// arrayOK: true
// default: middle center
// type: enumerated
// Sets the positions of the `text` elements with respects to the (x,y) coordinates.
// .schema.traces.scattercarpet.attributes.textposition
Textposition *types.ArrayOK[*ScattercarpetTextposition] `json:"textposition,omitempty"`
// Textpositionsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `textposition`.
// .schema.traces.scattercarpet.attributes.textpositionsrc
Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"`
// Textsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `text`.
// .schema.traces.scattercarpet.attributes.textsrc
Textsrc types.StringType `json:"textsrc,omitempty"`
// Texttemplate
// arrayOK: true
// type: string
// Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `a`, `b` and `text`.
// .schema.traces.scattercarpet.attributes.texttemplate
Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"`
// Texttemplatesrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `texttemplate`.
// .schema.traces.scattercarpet.attributes.texttemplatesrc
Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"`
// Transforms
// role: Object
// items: ScattercarpetTransform
// .schema.traces.scattercarpet.attributes.transforms
Transforms []ScattercarpetTransform `json:"transforms,omitempty"`
// Uid
// arrayOK: false
// type: string
// Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions.
// .schema.traces.scattercarpet.attributes.uid
Uid types.StringType `json:"uid,omitempty"`
// Uirevision
// arrayOK: false
// type: any
// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.
// .schema.traces.scattercarpet.attributes.uirevision
Uirevision interface{} `json:"uirevision,omitempty"`
// Unselected
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.unselected
Unselected *ScattercarpetUnselected `json:"unselected,omitempty"`
// Visible
// arrayOK: false
// default: %!s(bool=true)
// type: enumerated
// Determines whether or not this trace is visible. If *legendonly*, the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible).
// .schema.traces.scattercarpet.attributes.visible
Visible ScattercarpetVisible `json:"visible,omitempty"`
// Xaxis
// arrayOK: false
// type: subplotid
// Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If *x* (the default value), the x coordinates refer to `layout.xaxis`. If *x2*, the x coordinates refer to `layout.xaxis2`, and so on.
// .schema.traces.scattercarpet.attributes.xaxis
Xaxis types.StringType `json:"xaxis,omitempty"`
// Yaxis
// arrayOK: false
// type: subplotid
// Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If *y* (the default value), the y coordinates refer to `layout.yaxis`. If *y2*, the y coordinates refer to `layout.yaxis2`, and so on.
// .schema.traces.scattercarpet.attributes.yaxis
Yaxis types.StringType `json:"yaxis,omitempty"`
}
// ScattercarpetHoverlabelFont Sets the font used in hover labels.
type ScattercarpetHoverlabelFont struct {
// Color
// arrayOK: true
// type: color
//
// .schema.traces.scattercarpet.attributes.hoverlabel.font.color
Color *types.ArrayOK[*types.Color] `json:"color,omitempty"`
// Colorsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `color`.
// .schema.traces.scattercarpet.attributes.hoverlabel.font.colorsrc
Colorsrc types.StringType `json:"colorsrc,omitempty"`
// Family
// arrayOK: true
// type: string
// HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.
// .schema.traces.scattercarpet.attributes.hoverlabel.font.family
Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"`
// Familysrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `family`.
// .schema.traces.scattercarpet.attributes.hoverlabel.font.familysrc
Familysrc types.StringType `json:"familysrc,omitempty"`
// Size
// arrayOK: true
// type: number
//
// .schema.traces.scattercarpet.attributes.hoverlabel.font.size
Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"`
// Sizesrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `size`.
// .schema.traces.scattercarpet.attributes.hoverlabel.font.sizesrc
Sizesrc types.StringType `json:"sizesrc,omitempty"`
}
// ScattercarpetHoverlabel
type ScattercarpetHoverlabel struct {
// Align
// arrayOK: true
// default: auto
// type: enumerated
// Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines
// .schema.traces.scattercarpet.attributes.hoverlabel.align
Align *types.ArrayOK[*ScattercarpetHoverlabelAlign] `json:"align,omitempty"`
// Alignsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `align`.
// .schema.traces.scattercarpet.attributes.hoverlabel.alignsrc
Alignsrc types.StringType `json:"alignsrc,omitempty"`
// Bgcolor
// arrayOK: true
// type: color
// Sets the background color of the hover labels for this trace
// .schema.traces.scattercarpet.attributes.hoverlabel.bgcolor
Bgcolor *types.ArrayOK[*types.Color] `json:"bgcolor,omitempty"`
// Bgcolorsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `bgcolor`.
// .schema.traces.scattercarpet.attributes.hoverlabel.bgcolorsrc
Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"`
// Bordercolor
// arrayOK: true
// type: color
// Sets the border color of the hover labels for this trace.
// .schema.traces.scattercarpet.attributes.hoverlabel.bordercolor
Bordercolor *types.ArrayOK[*types.Color] `json:"bordercolor,omitempty"`
// Bordercolorsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `bordercolor`.
// .schema.traces.scattercarpet.attributes.hoverlabel.bordercolorsrc
Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"`
// Font
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.hoverlabel.font
Font *ScattercarpetHoverlabelFont `json:"font,omitempty"`
// Namelength
// arrayOK: true
// type: integer
// Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis.
// .schema.traces.scattercarpet.attributes.hoverlabel.namelength
Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"`
// Namelengthsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `namelength`.
// .schema.traces.scattercarpet.attributes.hoverlabel.namelengthsrc
Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"`
}
// ScattercarpetLegendgrouptitleFont Sets this legend group's title font.
type ScattercarpetLegendgrouptitleFont struct {
// Color
// arrayOK: false
// type: color
//
// .schema.traces.scattercarpet.attributes.legendgrouptitle.font.color
Color types.Color `json:"color,omitempty"`
// Family
// arrayOK: false
// type: string
// HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.
// .schema.traces.scattercarpet.attributes.legendgrouptitle.font.family
Family types.StringType `json:"family,omitempty"`
// Size
// arrayOK: false
// type: number
//
// .schema.traces.scattercarpet.attributes.legendgrouptitle.font.size
Size types.NumberType `json:"size,omitempty"`
}
// ScattercarpetLegendgrouptitle
type ScattercarpetLegendgrouptitle struct {
// Font
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.legendgrouptitle.font
Font *ScattercarpetLegendgrouptitleFont `json:"font,omitempty"`
// Text
// arrayOK: false
// type: string
// Sets the title of the legend group.
// .schema.traces.scattercarpet.attributes.legendgrouptitle.text
Text types.StringType `json:"text,omitempty"`
}
// ScattercarpetLine
type ScattercarpetLine struct {
// Backoff
// arrayOK: true
// type: number
// Sets the line back off from the end point of the nth line segment (in px). This option is useful e.g. to avoid overlap with arrowhead markers. With *auto* the lines would trim before markers if `marker.angleref` is set to *previous*.
// .schema.traces.scattercarpet.attributes.line.backoff
Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"`
// Backoffsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `backoff`.
// .schema.traces.scattercarpet.attributes.line.backoffsrc
Backoffsrc types.StringType `json:"backoffsrc,omitempty"`
// Color
// arrayOK: false
// type: color
// Sets the line color.
// .schema.traces.scattercarpet.attributes.line.color
Color types.Color `json:"color,omitempty"`
// Dash
// arrayOK: false
// type: string
// Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).
// .schema.traces.scattercarpet.attributes.line.dash
Dash types.StringType `json:"dash,omitempty"`
// Shape
// arrayOK: false
// default: linear
// type: enumerated
// Determines the line shape. With *spline* the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes.
// .schema.traces.scattercarpet.attributes.line.shape
Shape ScattercarpetLineShape `json:"shape,omitempty"`
// Smoothing
// arrayOK: false
// type: number
// Has an effect only if `shape` is set to *spline* Sets the amount of smoothing. *0* corresponds to no smoothing (equivalent to a *linear* shape).
// .schema.traces.scattercarpet.attributes.line.smoothing
Smoothing types.NumberType `json:"smoothing,omitempty"`
// Width
// arrayOK: false
// type: number
// Sets the line width (in px).
// .schema.traces.scattercarpet.attributes.line.width
Width types.NumberType `json:"width,omitempty"`
}
// ScattercarpetMarkerColorbarTickfont Sets the color bar's tick label font
type ScattercarpetMarkerColorbarTickfont struct {
// Color
// arrayOK: false
// type: color
//
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickfont.color
Color types.Color `json:"color,omitempty"`
// Family
// arrayOK: false
// type: string
// HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickfont.family
Family types.StringType `json:"family,omitempty"`
// Size
// arrayOK: false
// type: number
//
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickfont.size
Size types.NumberType `json:"size,omitempty"`
}
// ScattercarpetMarkerColorbarTickformatstop
type ScattercarpetMarkerColorbarTickformatstop struct {
// Dtickrange
// arrayOK: false
// type: info_array
// range [*min*, *max*], where *min*, *max* - dtick values which describe some zoom level, it is possible to omit *min* or *max* value by passing *null*
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickformatstops.items.tickformatstop.dtickrange
Dtickrange interface{} `json:"dtickrange,omitempty"`
// Enabled
// arrayOK: false
// type: boolean
// Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`.
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickformatstops.items.tickformatstop.enabled
Enabled types.BoolType `json:"enabled,omitempty"`
// Name
// arrayOK: false
// type: string
// When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: false` or `enabled: false` to hide it). Has no effect outside of a template.
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickformatstops.items.tickformatstop.name
Name types.StringType `json:"name,omitempty"`
// Templateitemname
// arrayOK: false
// type: string
// Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: false` or `enabled: false` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: true`.
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickformatstops.items.tickformatstop.templateitemname
Templateitemname types.StringType `json:"templateitemname,omitempty"`
// Value
// arrayOK: false
// type: string
// string - dtickformat for described zoom level, the same as *tickformat*
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickformatstops.items.tickformatstop.value
Value types.StringType `json:"value,omitempty"`
}
// ScattercarpetMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
type ScattercarpetMarkerColorbarTitleFont struct {
// Color
// arrayOK: false
// type: color
//
// .schema.traces.scattercarpet.attributes.marker.colorbar.title.font.color
Color types.Color `json:"color,omitempty"`
// Family
// arrayOK: false
// type: string
// HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.
// .schema.traces.scattercarpet.attributes.marker.colorbar.title.font.family
Family types.StringType `json:"family,omitempty"`
// Size
// arrayOK: false
// type: number
//
// .schema.traces.scattercarpet.attributes.marker.colorbar.title.font.size
Size types.NumberType `json:"size,omitempty"`
}
// ScattercarpetMarkerColorbarTitle
type ScattercarpetMarkerColorbarTitle struct {
// Font
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.marker.colorbar.title.font
Font *ScattercarpetMarkerColorbarTitleFont `json:"font,omitempty"`
// Side
// arrayOK: false
// default: %!s(<nil>)
// type: enumerated
// Determines the location of color bar's title with respect to the color bar. Defaults to *top* when `orientation` if *v* and defaults to *right* when `orientation` if *h*. Note that the title's location used to be set by the now deprecated `titleside` attribute.
// .schema.traces.scattercarpet.attributes.marker.colorbar.title.side
Side ScattercarpetMarkerColorbarTitleSide `json:"side,omitempty"`
// Text
// arrayOK: false
// type: string
// Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
// .schema.traces.scattercarpet.attributes.marker.colorbar.title.text
Text types.StringType `json:"text,omitempty"`
}
// ScattercarpetMarkerColorbar
type ScattercarpetMarkerColorbar struct {
// Bgcolor
// arrayOK: false
// type: color
// Sets the color of padded area.
// .schema.traces.scattercarpet.attributes.marker.colorbar.bgcolor
Bgcolor types.Color `json:"bgcolor,omitempty"`
// Bordercolor
// arrayOK: false
// type: color
// Sets the axis line color.
// .schema.traces.scattercarpet.attributes.marker.colorbar.bordercolor
Bordercolor types.Color `json:"bordercolor,omitempty"`
// Borderwidth
// arrayOK: false
// type: number
// Sets the width (in px) or the border enclosing this color bar.
// .schema.traces.scattercarpet.attributes.marker.colorbar.borderwidth
Borderwidth types.NumberType `json:"borderwidth,omitempty"`
// Dtick
// arrayOK: false
// type: any
// Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to *log* and *date* axes. If the axis `type` is *log*, then ticks are set every 10^(n*dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. *log* has several special values; *L<f>*, where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = *L0.5* will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use *D1* (all digits) or *D2* (only 2 and 5). `tick0` is ignored for *D1* and *D2*. If the axis `type` is *date*, then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. *date* also has special values *M<n>* gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to *2000-01-15* and `dtick` to *M3*. To set ticks every 4 years, set `dtick` to *M48*
// .schema.traces.scattercarpet.attributes.marker.colorbar.dtick
Dtick interface{} `json:"dtick,omitempty"`
// Exponentformat
// arrayOK: false
// default: B
// type: enumerated
// Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If *none*, it appears as 1,000,000,000. If *e*, 1e+9. If *E*, 1E+9. If *power*, 1x10^9 (with 9 in a super script). If *SI*, 1G. If *B*, 1B.
// .schema.traces.scattercarpet.attributes.marker.colorbar.exponentformat
Exponentformat ScattercarpetMarkerColorbarExponentformat `json:"exponentformat,omitempty"`
// Labelalias
// arrayOK: false
// type: any
// Replacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.
// .schema.traces.scattercarpet.attributes.marker.colorbar.labelalias
Labelalias interface{} `json:"labelalias,omitempty"`
// Len
// arrayOK: false
// type: number
// Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.
// .schema.traces.scattercarpet.attributes.marker.colorbar.len
Len types.NumberType `json:"len,omitempty"`
// Lenmode
// arrayOK: false
// default: fraction
// type: enumerated
// Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot *fraction* or in *pixels. Use `len` to set the value.
// .schema.traces.scattercarpet.attributes.marker.colorbar.lenmode
Lenmode ScattercarpetMarkerColorbarLenmode `json:"lenmode,omitempty"`
// Minexponent
// arrayOK: false
// type: number
// Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is *SI* or *B*.
// .schema.traces.scattercarpet.attributes.marker.colorbar.minexponent
Minexponent types.NumberType `json:"minexponent,omitempty"`
// Nticks
// arrayOK: false
// type: integer
// Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to *auto*.
// .schema.traces.scattercarpet.attributes.marker.colorbar.nticks
Nticks types.IntegerType `json:"nticks,omitempty"`
// Orientation
// arrayOK: false
// default: v
// type: enumerated
// Sets the orientation of the colorbar.
// .schema.traces.scattercarpet.attributes.marker.colorbar.orientation
Orientation ScattercarpetMarkerColorbarOrientation `json:"orientation,omitempty"`
// Outlinecolor
// arrayOK: false
// type: color
// Sets the axis line color.
// .schema.traces.scattercarpet.attributes.marker.colorbar.outlinecolor
Outlinecolor types.Color `json:"outlinecolor,omitempty"`
// Outlinewidth
// arrayOK: false
// type: number
// Sets the width (in px) of the axis line.
// .schema.traces.scattercarpet.attributes.marker.colorbar.outlinewidth
Outlinewidth types.NumberType `json:"outlinewidth,omitempty"`
// Separatethousands
// arrayOK: false
// type: boolean
// If "true", even 4-digit integers are separated
// .schema.traces.scattercarpet.attributes.marker.colorbar.separatethousands
Separatethousands types.BoolType `json:"separatethousands,omitempty"`
// Showexponent
// arrayOK: false
// default: all
// type: enumerated
// If *all*, all exponents are shown besides their significands. If *first*, only the exponent of the first tick is shown. If *last*, only the exponent of the last tick is shown. If *none*, no exponents appear.
// .schema.traces.scattercarpet.attributes.marker.colorbar.showexponent
Showexponent ScattercarpetMarkerColorbarShowexponent `json:"showexponent,omitempty"`
// Showticklabels
// arrayOK: false
// type: boolean
// Determines whether or not the tick labels are drawn.
// .schema.traces.scattercarpet.attributes.marker.colorbar.showticklabels
Showticklabels types.BoolType `json:"showticklabels,omitempty"`
// Showtickprefix
// arrayOK: false
// default: all
// type: enumerated
// If *all*, all tick labels are displayed with a prefix. If *first*, only the first tick is displayed with a prefix. If *last*, only the last tick is displayed with a suffix. If *none*, tick prefixes are hidden.
// .schema.traces.scattercarpet.attributes.marker.colorbar.showtickprefix
Showtickprefix ScattercarpetMarkerColorbarShowtickprefix `json:"showtickprefix,omitempty"`
// Showticksuffix
// arrayOK: false
// default: all
// type: enumerated
// Same as `showtickprefix` but for tick suffixes.
// .schema.traces.scattercarpet.attributes.marker.colorbar.showticksuffix
Showticksuffix ScattercarpetMarkerColorbarShowticksuffix `json:"showticksuffix,omitempty"`
// Thickness
// arrayOK: false
// type: number
// Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.
// .schema.traces.scattercarpet.attributes.marker.colorbar.thickness
Thickness types.NumberType `json:"thickness,omitempty"`
// Thicknessmode
// arrayOK: false
// default: pixels
// type: enumerated
// Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot *fraction* or in *pixels*. Use `thickness` to set the value.
// .schema.traces.scattercarpet.attributes.marker.colorbar.thicknessmode
Thicknessmode ScattercarpetMarkerColorbarThicknessmode `json:"thicknessmode,omitempty"`
// Tick0
// arrayOK: false
// type: any
// Sets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is *log*, then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see `dtick` for more info). If the axis `type` is *date*, it should be a date string, like date data. If the axis `type` is *category*, it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.
// .schema.traces.scattercarpet.attributes.marker.colorbar.tick0
Tick0 interface{} `json:"tick0,omitempty"`
// Tickangle
// arrayOK: false
// type: angle
// Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickangle
Tickangle types.NumberType `json:"tickangle,omitempty"`
// Tickcolor
// arrayOK: false
// type: color
// Sets the tick color.
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickcolor
Tickcolor types.Color `json:"tickcolor,omitempty"`
// Tickfont
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickfont
Tickfont *ScattercarpetMarkerColorbarTickfont `json:"tickfont,omitempty"`
// Tickformat
// arrayOK: false
// type: string
// Sets the tick label formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: *%h* for half of the year as a decimal number as well as *%{n}f* for fractional seconds with n digits. For example, *2016-10-13 09:15:23.456* with tickformat *%H~%M~%S.%2f* would display *09~15~23.46*
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickformat
Tickformat types.StringType `json:"tickformat,omitempty"`
// Tickformatstops
// role: Object
// items: ScattercarpetMarkerColorbarTickformatstop
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickformatstops
Tickformatstops []ScattercarpetMarkerColorbarTickformatstop `json:"tickformatstops,omitempty"`
// Ticklabeloverflow
// arrayOK: false
// default: %!s(<nil>)
// type: enumerated
// Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is *hide past domain*. In other cases the default is *hide past div*.
// .schema.traces.scattercarpet.attributes.marker.colorbar.ticklabeloverflow
Ticklabeloverflow ScattercarpetMarkerColorbarTicklabeloverflow `json:"ticklabeloverflow,omitempty"`
// Ticklabelposition
// arrayOK: false
// default: outside
// type: enumerated
// Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is *h*, top and bottom when `orientation` is *v*.
// .schema.traces.scattercarpet.attributes.marker.colorbar.ticklabelposition
Ticklabelposition ScattercarpetMarkerColorbarTicklabelposition `json:"ticklabelposition,omitempty"`
// Ticklabelstep
// arrayOK: false
// type: integer
// Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` *log* or *multicategory*, or when `tickmode` is *array*.
// .schema.traces.scattercarpet.attributes.marker.colorbar.ticklabelstep
Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"`
// Ticklen
// arrayOK: false
// type: number
// Sets the tick length (in px).
// .schema.traces.scattercarpet.attributes.marker.colorbar.ticklen
Ticklen types.NumberType `json:"ticklen,omitempty"`
// Tickmode
// arrayOK: false
// default: %!s(<nil>)
// type: enumerated
// Sets the tick mode for this axis. If *auto*, the number of ticks is set via `nticks`. If *linear*, the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` (*linear* is the default value if `tick0` and `dtick` are provided). If *array*, the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. (*array* is the default value if `tickvals` is provided).
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickmode
Tickmode ScattercarpetMarkerColorbarTickmode `json:"tickmode,omitempty"`
// Tickprefix
// arrayOK: false
// type: string
// Sets a tick label prefix.
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickprefix
Tickprefix types.StringType `json:"tickprefix,omitempty"`
// Ticks
// arrayOK: false
// default:
// type: enumerated
// Determines whether ticks are drawn or not. If **, this axis' ticks are not drawn. If *outside* (*inside*), this axis' are drawn outside (inside) the axis lines.
// .schema.traces.scattercarpet.attributes.marker.colorbar.ticks
Ticks ScattercarpetMarkerColorbarTicks `json:"ticks,omitempty"`
// Ticksuffix
// arrayOK: false
// type: string
// Sets a tick label suffix.
// .schema.traces.scattercarpet.attributes.marker.colorbar.ticksuffix
Ticksuffix types.StringType `json:"ticksuffix,omitempty"`
// Ticktext
// arrayOK: false
// type: data_array
// Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to *array*. Used with `tickvals`.
// use types.DataArray to pass any slice of data
// use types.BDataArray to pass data in binary format as provided by numpy
// .schema.traces.scattercarpet.attributes.marker.colorbar.ticktext
Ticktext *types.DataArrayType `json:"ticktext,omitempty"`
// Ticktextsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `ticktext`.
// .schema.traces.scattercarpet.attributes.marker.colorbar.ticktextsrc
Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"`
// Tickvals
// arrayOK: false
// type: data_array
// Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to *array*. Used with `ticktext`.
// use types.DataArray to pass any slice of data
// use types.BDataArray to pass data in binary format as provided by numpy
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickvals
Tickvals *types.DataArrayType `json:"tickvals,omitempty"`
// Tickvalssrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `tickvals`.
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickvalssrc
Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"`
// Tickwidth
// arrayOK: false
// type: number
// Sets the tick width (in px).
// .schema.traces.scattercarpet.attributes.marker.colorbar.tickwidth
Tickwidth types.NumberType `json:"tickwidth,omitempty"`
// Title
// arrayOK: false
// role: Object
// .schema.traces.scattercarpet.attributes.marker.colorbar.title
Title *ScattercarpetMarkerColorbarTitle `json:"title,omitempty"`
// X
// arrayOK: false
// type: number