-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathparcats_gen.go
1195 lines (1008 loc) · 60.1 KB
/
parcats_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 TraceTypeParcats types.TraceType = "parcats"
func (t *Parcats) GetType() types.TraceType {
return TraceTypeParcats
}
func (t *Parcats) MarshalJSON() ([]byte, error) {
// Define the custom JSON structure including the "type" field
type Alias Parcats
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
})
}
// Parcats Parallel categories diagram for multidimensional categorical data.
type Parcats struct {
// Arrangement
// arrayOK: false
// default: perpendicular
// type: enumerated
// Sets the drag interaction mode for categories and dimensions. If `perpendicular`, the categories can only move along a line perpendicular to the paths. If `freeform`, the categories can freely move on the plane. If `fixed`, the categories and dimensions are stationary.
// .schema.traces.parcats.attributes.arrangement
Arrangement ParcatsArrangement `json:"arrangement,omitempty"`
// Bundlecolors
// arrayOK: false
// type: boolean
// Sort paths so that like colors are bundled together within each category.
// .schema.traces.parcats.attributes.bundlecolors
Bundlecolors types.BoolType `json:"bundlecolors,omitempty"`
// Counts
// arrayOK: true
// type: number
// The number of observations represented by each state. Defaults to 1 so that each state represents one observation
// .schema.traces.parcats.attributes.counts
Counts *types.ArrayOK[*types.NumberType] `json:"counts,omitempty"`
// Countssrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `counts`.
// .schema.traces.parcats.attributes.countssrc
Countssrc types.StringType `json:"countssrc,omitempty"`
// Dimensions
// role: Object
// items: ParcatsDimension
// .schema.traces.parcats.attributes.dimensions
Dimensions []ParcatsDimension `json:"dimensions,omitempty"`
// Domain
// arrayOK: false
// role: Object
// .schema.traces.parcats.attributes.domain
Domain *ParcatsDomain `json:"domain,omitempty"`
// Hoverinfo
// arrayOK: false
// 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.parcats.attributes.hoverinfo
Hoverinfo ParcatsHoverinfo `json:"hoverinfo,omitempty"`
// Hoveron
// arrayOK: false
// default: category
// type: enumerated
// Sets the hover interaction mode for the parcats diagram. If `category`, hover interaction take place per category. If `color`, hover interactions take place per color per category. If `dimension`, hover interactions take place across all categories per dimension.
// .schema.traces.parcats.attributes.hoveron
Hoveron ParcatsHoveron `json:"hoveron,omitempty"`
// Hovertemplate
// arrayOK: false
// 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. variables `count`, `probability`, `category`, `categorycount`, `colorcount` and `bandcolorcount`. 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.parcats.attributes.hovertemplate
Hovertemplate types.StringType `json:"hovertemplate,omitempty"`
// Labelfont
// arrayOK: false
// role: Object
// .schema.traces.parcats.attributes.labelfont
Labelfont *ParcatsLabelfont `json:"labelfont,omitempty"`
// Legendgrouptitle
// arrayOK: false
// role: Object
// .schema.traces.parcats.attributes.legendgrouptitle
Legendgrouptitle *ParcatsLegendgrouptitle `json:"legendgrouptitle,omitempty"`
// Legendwidth
// arrayOK: false
// type: number
// Sets the width (in px or fraction) of the legend for this trace.
// .schema.traces.parcats.attributes.legendwidth
Legendwidth types.NumberType `json:"legendwidth,omitempty"`
// Line
// arrayOK: false
// role: Object
// .schema.traces.parcats.attributes.line
Line *ParcatsLine `json:"line,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.parcats.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.parcats.attributes.metasrc
Metasrc types.StringType `json:"metasrc,omitempty"`
// Name
// arrayOK: false
// type: string
// Sets the trace name. The trace name appear as the legend item and on hover.
// .schema.traces.parcats.attributes.name
Name types.StringType `json:"name,omitempty"`
// Sortpaths
// arrayOK: false
// default: forward
// type: enumerated
// Sets the path sorting algorithm. If `forward`, sort paths based on dimension categories from left to right. If `backward`, sort paths based on dimensions categories from right to left.
// .schema.traces.parcats.attributes.sortpaths
Sortpaths ParcatsSortpaths `json:"sortpaths,omitempty"`
// Stream
// arrayOK: false
// role: Object
// .schema.traces.parcats.attributes.stream
Stream *ParcatsStream `json:"stream,omitempty"`
// Tickfont
// arrayOK: false
// role: Object
// .schema.traces.parcats.attributes.tickfont
Tickfont *ParcatsTickfont `json:"tickfont,omitempty"`
// Transforms
// role: Object
// items: ParcatsTransform
// .schema.traces.parcats.attributes.transforms
Transforms []ParcatsTransform `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.parcats.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.parcats.attributes.uirevision
Uirevision interface{} `json:"uirevision,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.parcats.attributes.visible
Visible ParcatsVisible `json:"visible,omitempty"`
}
// ParcatsDimension The dimensions (variables) of the parallel categories diagram.
type ParcatsDimension struct {
// Categoryarray
// arrayOK: false
// type: data_array
// Sets the order in which categories in this dimension appear. Only has an effect if `categoryorder` is set to *array*. Used with `categoryorder`.
// use types.DataArray to pass any slice of data
// use types.BDataArray to pass data in binary format as provided by numpy
// .schema.traces.parcats.attributes.dimensions.items.dimension.categoryarray
Categoryarray *types.DataArrayType `json:"categoryarray,omitempty"`
// Categoryarraysrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `categoryarray`.
// .schema.traces.parcats.attributes.dimensions.items.dimension.categoryarraysrc
Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"`
// Categoryorder
// arrayOK: false
// default: trace
// type: enumerated
// Specifies the ordering logic for the categories in the dimension. By default, plotly uses *trace*, which specifies the order that is present in the data supplied. Set `categoryorder` to *category ascending* or *category descending* if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.
// .schema.traces.parcats.attributes.dimensions.items.dimension.categoryorder
Categoryorder ParcatsDimensionCategoryorder `json:"categoryorder,omitempty"`
// Displayindex
// arrayOK: false
// type: integer
// The display index of dimension, from left to right, zero indexed, defaults to dimension index.
// .schema.traces.parcats.attributes.dimensions.items.dimension.displayindex
Displayindex types.IntegerType `json:"displayindex,omitempty"`
// Label
// arrayOK: false
// type: string
// The shown name of the dimension.
// .schema.traces.parcats.attributes.dimensions.items.dimension.label
Label types.StringType `json:"label,omitempty"`
// Ticktext
// arrayOK: false
// type: data_array
// Sets alternative tick labels for the categories in this dimension. Only has an effect if `categoryorder` is set to *array*. Should be an array the same length as `categoryarray` Used with `categoryorder`.
// use types.DataArray to pass any slice of data
// use types.BDataArray to pass data in binary format as provided by numpy
// .schema.traces.parcats.attributes.dimensions.items.dimension.ticktext
Ticktext *types.DataArrayType `json:"ticktext,omitempty"`
// Ticktextsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `ticktext`.
// .schema.traces.parcats.attributes.dimensions.items.dimension.ticktextsrc
Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"`
// Values
// arrayOK: false
// type: data_array
// Dimension values. `values[n]` represents the category value of the `n`th point in the dataset, therefore the `values` vector for all dimensions must be the same (longer vectors will be truncated).
// use types.DataArray to pass any slice of data
// use types.BDataArray to pass data in binary format as provided by numpy
// .schema.traces.parcats.attributes.dimensions.items.dimension.values
Values *types.DataArrayType `json:"values,omitempty"`
// Valuessrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `values`.
// .schema.traces.parcats.attributes.dimensions.items.dimension.valuessrc
Valuessrc types.StringType `json:"valuessrc,omitempty"`
// Visible
// arrayOK: false
// type: boolean
// Shows the dimension when set to `true` (the default). Hides the dimension for `false`.
// .schema.traces.parcats.attributes.dimensions.items.dimension.visible
Visible types.BoolType `json:"visible,omitempty"`
}
// ParcatsDomain
type ParcatsDomain struct {
// Column
// arrayOK: false
// type: integer
// If there is a layout grid, use the domain for this column in the grid for this parcats trace .
// .schema.traces.parcats.attributes.domain.column
Column types.IntegerType `json:"column,omitempty"`
// Row
// arrayOK: false
// type: integer
// If there is a layout grid, use the domain for this row in the grid for this parcats trace .
// .schema.traces.parcats.attributes.domain.row
Row types.IntegerType `json:"row,omitempty"`
// X
// arrayOK: false
// type: info_array
// Sets the horizontal domain of this parcats trace (in plot fraction).
// .schema.traces.parcats.attributes.domain.x
X interface{} `json:"x,omitempty"`
// Y
// arrayOK: false
// type: info_array
// Sets the vertical domain of this parcats trace (in plot fraction).
// .schema.traces.parcats.attributes.domain.y
Y interface{} `json:"y,omitempty"`
}
// ParcatsLabelfont Sets the font for the `dimension` labels.
type ParcatsLabelfont struct {
// Color
// arrayOK: false
// type: color
//
// .schema.traces.parcats.attributes.labelfont.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.parcats.attributes.labelfont.family
Family types.StringType `json:"family,omitempty"`
// Size
// arrayOK: false
// type: number
//
// .schema.traces.parcats.attributes.labelfont.size
Size types.NumberType `json:"size,omitempty"`
}
// ParcatsLegendgrouptitleFont Sets this legend group's title font.
type ParcatsLegendgrouptitleFont struct {
// Color
// arrayOK: false
// type: color
//
// .schema.traces.parcats.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.parcats.attributes.legendgrouptitle.font.family
Family types.StringType `json:"family,omitempty"`
// Size
// arrayOK: false
// type: number
//
// .schema.traces.parcats.attributes.legendgrouptitle.font.size
Size types.NumberType `json:"size,omitempty"`
}
// ParcatsLegendgrouptitle
type ParcatsLegendgrouptitle struct {
// Font
// arrayOK: false
// role: Object
// .schema.traces.parcats.attributes.legendgrouptitle.font
Font *ParcatsLegendgrouptitleFont `json:"font,omitempty"`
// Text
// arrayOK: false
// type: string
// Sets the title of the legend group.
// .schema.traces.parcats.attributes.legendgrouptitle.text
Text types.StringType `json:"text,omitempty"`
}
// ParcatsLineColorbarTickfont Sets the color bar's tick label font
type ParcatsLineColorbarTickfont struct {
// Color
// arrayOK: false
// type: color
//
// .schema.traces.parcats.attributes.line.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.parcats.attributes.line.colorbar.tickfont.family
Family types.StringType `json:"family,omitempty"`
// Size
// arrayOK: false
// type: number
//
// .schema.traces.parcats.attributes.line.colorbar.tickfont.size
Size types.NumberType `json:"size,omitempty"`
}
// ParcatsLineColorbarTickformatstop
type ParcatsLineColorbarTickformatstop 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.parcats.attributes.line.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.parcats.attributes.line.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.parcats.attributes.line.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.parcats.attributes.line.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.parcats.attributes.line.colorbar.tickformatstops.items.tickformatstop.value
Value types.StringType `json:"value,omitempty"`
}
// ParcatsLineColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
type ParcatsLineColorbarTitleFont struct {
// Color
// arrayOK: false
// type: color
//
// .schema.traces.parcats.attributes.line.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.parcats.attributes.line.colorbar.title.font.family
Family types.StringType `json:"family,omitempty"`
// Size
// arrayOK: false
// type: number
//
// .schema.traces.parcats.attributes.line.colorbar.title.font.size
Size types.NumberType `json:"size,omitempty"`
}
// ParcatsLineColorbarTitle
type ParcatsLineColorbarTitle struct {
// Font
// arrayOK: false
// role: Object
// .schema.traces.parcats.attributes.line.colorbar.title.font
Font *ParcatsLineColorbarTitleFont `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.parcats.attributes.line.colorbar.title.side
Side ParcatsLineColorbarTitleSide `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.parcats.attributes.line.colorbar.title.text
Text types.StringType `json:"text,omitempty"`
}
// ParcatsLineColorbar
type ParcatsLineColorbar struct {
// Bgcolor
// arrayOK: false
// type: color
// Sets the color of padded area.
// .schema.traces.parcats.attributes.line.colorbar.bgcolor
Bgcolor types.Color `json:"bgcolor,omitempty"`
// Bordercolor
// arrayOK: false
// type: color
// Sets the axis line color.
// .schema.traces.parcats.attributes.line.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.parcats.attributes.line.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.parcats.attributes.line.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.parcats.attributes.line.colorbar.exponentformat
Exponentformat ParcatsLineColorbarExponentformat `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.parcats.attributes.line.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.parcats.attributes.line.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.parcats.attributes.line.colorbar.lenmode
Lenmode ParcatsLineColorbarLenmode `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.parcats.attributes.line.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.parcats.attributes.line.colorbar.nticks
Nticks types.IntegerType `json:"nticks,omitempty"`
// Orientation
// arrayOK: false
// default: v
// type: enumerated
// Sets the orientation of the colorbar.
// .schema.traces.parcats.attributes.line.colorbar.orientation
Orientation ParcatsLineColorbarOrientation `json:"orientation,omitempty"`
// Outlinecolor
// arrayOK: false
// type: color
// Sets the axis line color.
// .schema.traces.parcats.attributes.line.colorbar.outlinecolor
Outlinecolor types.Color `json:"outlinecolor,omitempty"`
// Outlinewidth
// arrayOK: false
// type: number
// Sets the width (in px) of the axis line.
// .schema.traces.parcats.attributes.line.colorbar.outlinewidth
Outlinewidth types.NumberType `json:"outlinewidth,omitempty"`
// Separatethousands
// arrayOK: false
// type: boolean
// If "true", even 4-digit integers are separated
// .schema.traces.parcats.attributes.line.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.parcats.attributes.line.colorbar.showexponent
Showexponent ParcatsLineColorbarShowexponent `json:"showexponent,omitempty"`
// Showticklabels
// arrayOK: false
// type: boolean
// Determines whether or not the tick labels are drawn.
// .schema.traces.parcats.attributes.line.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.parcats.attributes.line.colorbar.showtickprefix
Showtickprefix ParcatsLineColorbarShowtickprefix `json:"showtickprefix,omitempty"`
// Showticksuffix
// arrayOK: false
// default: all
// type: enumerated
// Same as `showtickprefix` but for tick suffixes.
// .schema.traces.parcats.attributes.line.colorbar.showticksuffix
Showticksuffix ParcatsLineColorbarShowticksuffix `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.parcats.attributes.line.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.parcats.attributes.line.colorbar.thicknessmode
Thicknessmode ParcatsLineColorbarThicknessmode `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.parcats.attributes.line.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.parcats.attributes.line.colorbar.tickangle
Tickangle types.NumberType `json:"tickangle,omitempty"`
// Tickcolor
// arrayOK: false
// type: color
// Sets the tick color.
// .schema.traces.parcats.attributes.line.colorbar.tickcolor
Tickcolor types.Color `json:"tickcolor,omitempty"`
// Tickfont
// arrayOK: false
// role: Object
// .schema.traces.parcats.attributes.line.colorbar.tickfont
Tickfont *ParcatsLineColorbarTickfont `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.parcats.attributes.line.colorbar.tickformat
Tickformat types.StringType `json:"tickformat,omitempty"`
// Tickformatstops
// role: Object
// items: ParcatsLineColorbarTickformatstop
// .schema.traces.parcats.attributes.line.colorbar.tickformatstops
Tickformatstops []ParcatsLineColorbarTickformatstop `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.parcats.attributes.line.colorbar.ticklabeloverflow
Ticklabeloverflow ParcatsLineColorbarTicklabeloverflow `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.parcats.attributes.line.colorbar.ticklabelposition
Ticklabelposition ParcatsLineColorbarTicklabelposition `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.parcats.attributes.line.colorbar.ticklabelstep
Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"`
// Ticklen
// arrayOK: false
// type: number
// Sets the tick length (in px).
// .schema.traces.parcats.attributes.line.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.parcats.attributes.line.colorbar.tickmode
Tickmode ParcatsLineColorbarTickmode `json:"tickmode,omitempty"`
// Tickprefix
// arrayOK: false
// type: string
// Sets a tick label prefix.
// .schema.traces.parcats.attributes.line.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.parcats.attributes.line.colorbar.ticks
Ticks ParcatsLineColorbarTicks `json:"ticks,omitempty"`
// Ticksuffix
// arrayOK: false
// type: string
// Sets a tick label suffix.
// .schema.traces.parcats.attributes.line.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.parcats.attributes.line.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.parcats.attributes.line.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.parcats.attributes.line.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.parcats.attributes.line.colorbar.tickvalssrc
Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"`
// Tickwidth
// arrayOK: false
// type: number
// Sets the tick width (in px).
// .schema.traces.parcats.attributes.line.colorbar.tickwidth
Tickwidth types.NumberType `json:"tickwidth,omitempty"`
// Title
// arrayOK: false
// role: Object
// .schema.traces.parcats.attributes.line.colorbar.title
Title *ParcatsLineColorbarTitle `json:"title,omitempty"`
// X
// arrayOK: false
// type: number
// Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*.
// .schema.traces.parcats.attributes.line.colorbar.x
X types.NumberType `json:"x,omitempty"`
// Xanchor
// arrayOK: false
// default: %!s(<nil>)
// type: enumerated
// Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the *left*, *center* or *right* of the color bar. Defaults to *left* when `orientation` is *v* and *center* when `orientation` is *h*.
// .schema.traces.parcats.attributes.line.colorbar.xanchor
Xanchor ParcatsLineColorbarXanchor `json:"xanchor,omitempty"`
// Xpad
// arrayOK: false
// type: number
// Sets the amount of padding (in px) along the x direction.
// .schema.traces.parcats.attributes.line.colorbar.xpad
Xpad types.NumberType `json:"xpad,omitempty"`
// Y
// arrayOK: false
// type: number
// Sets the y position of the color bar (in plot fraction). Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.
// .schema.traces.parcats.attributes.line.colorbar.y
Y types.NumberType `json:"y,omitempty"`
// Yanchor
// arrayOK: false
// default: %!s(<nil>)
// type: enumerated
// Sets this color bar's vertical position anchor This anchor binds the `y` position to the *top*, *middle* or *bottom* of the color bar. Defaults to *middle* when `orientation` is *v* and *bottom* when `orientation` is *h*.
// .schema.traces.parcats.attributes.line.colorbar.yanchor
Yanchor ParcatsLineColorbarYanchor `json:"yanchor,omitempty"`
// Ypad
// arrayOK: false
// type: number
// Sets the amount of padding (in px) along the y direction.
// .schema.traces.parcats.attributes.line.colorbar.ypad
Ypad types.NumberType `json:"ypad,omitempty"`
}
// ParcatsLine
type ParcatsLine struct {
// Autocolorscale
// arrayOK: false
// type: boolean
// Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `line.colorscale`. Has an effect only if in `line.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is true, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
// .schema.traces.parcats.attributes.line.autocolorscale
Autocolorscale types.BoolType `json:"autocolorscale,omitempty"`
// Cauto
// arrayOK: false
// type: boolean
// Determines whether or not the color domain is computed with respect to the input data (here in `line.color`) or the bounds set in `line.cmin` and `line.cmax` Has an effect only if in `line.color` is set to a numerical array. Defaults to `false` when `line.cmin` and `line.cmax` are set by the user.
// .schema.traces.parcats.attributes.line.cauto
Cauto types.BoolType `json:"cauto,omitempty"`
// Cmax
// arrayOK: false
// type: number
// Sets the upper bound of the color domain. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmin` must be set as well.
// .schema.traces.parcats.attributes.line.cmax
Cmax types.NumberType `json:"cmax,omitempty"`
// Cmid
// arrayOK: false
// type: number
// Sets the mid-point of the color domain by scaling `line.cmin` and/or `line.cmax` to be equidistant to this point. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color`. Has no effect when `line.cauto` is `false`.
// .schema.traces.parcats.attributes.line.cmid
Cmid types.NumberType `json:"cmid,omitempty"`
// Cmin
// arrayOK: false
// type: number
// Sets the lower bound of the color domain. Has an effect only if in `line.color` is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmax` must be set as well.
// .schema.traces.parcats.attributes.line.cmin
Cmin types.NumberType `json:"cmin,omitempty"`
// Color
// arrayOK: true
// type: color
// Sets the line color. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `line.cmin` and `line.cmax` if set.
// .schema.traces.parcats.attributes.line.color
Color *types.ArrayOK[*types.ColorWithColorScale] `json:"color,omitempty"`
// Coloraxis
// arrayOK: false
// type: subplotid
// Sets a reference to a shared color axis. References to these shared color axes are *coloraxis*, *coloraxis2*, *coloraxis3*, etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be linked to the same color axis.
// .schema.traces.parcats.attributes.line.coloraxis
Coloraxis types.StringType `json:"coloraxis,omitempty"`
// Colorbar
// arrayOK: false
// role: Object
// .schema.traces.parcats.attributes.line.colorbar
Colorbar *ParcatsLineColorbar `json:"colorbar,omitempty"`
// Colorscale
// arrayOK: false
// type: colorscale
// Sets the colorscale. Has an effect only if in `line.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in color space, use `line.cmin` and `line.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
// .schema.traces.parcats.attributes.line.colorscale
Colorscale *types.ColorScale `json:"colorscale,omitempty"`
// Colorsrc
// arrayOK: false
// type: string
// Sets the source reference on Chart Studio Cloud for `color`.
// .schema.traces.parcats.attributes.line.colorsrc
Colorsrc types.StringType `json:"colorsrc,omitempty"`
// Hovertemplate
// arrayOK: false
// 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. variables `count` and `probability`. 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.parcats.attributes.line.hovertemplate
Hovertemplate types.StringType `json:"hovertemplate,omitempty"`
// Reversescale
// arrayOK: false
// type: boolean
// Reverses the color mapping if true. Has an effect only if in `line.color` is set to a numerical array. If true, `line.cmin` will correspond to the last color in the array and `line.cmax` will correspond to the first color.
// .schema.traces.parcats.attributes.line.reversescale
Reversescale types.BoolType `json:"reversescale,omitempty"`
// Shape
// arrayOK: false
// default: linear
// type: enumerated
// Sets the shape of the paths. If `linear`, paths are composed of straight lines. If `hspline`, paths are composed of horizontal curved splines
// .schema.traces.parcats.attributes.line.shape
Shape ParcatsLineShape `json:"shape,omitempty"`
// Showscale
// arrayOK: false
// type: boolean
// Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `line.color` is set to a numerical array.
// .schema.traces.parcats.attributes.line.showscale
Showscale types.BoolType `json:"showscale,omitempty"`
}
// ParcatsStream
type ParcatsStream struct {
// Maxpoints
// arrayOK: false
// type: number
// Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to *50*, only the newest 50 points will be displayed on the plot.
// .schema.traces.parcats.attributes.stream.maxpoints
Maxpoints types.NumberType `json:"maxpoints,omitempty"`
// Token
// arrayOK: false
// type: string
// The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details.
// .schema.traces.parcats.attributes.stream.token
Token types.StringType `json:"token,omitempty"`
}
// ParcatsTickfont Sets the font for the `category` labels.
type ParcatsTickfont struct {
// Color
// arrayOK: false
// type: color
//
// .schema.traces.parcats.attributes.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.parcats.attributes.tickfont.family
Family types.StringType `json:"family,omitempty"`
// Size
// arrayOK: false
// type: number
//
// .schema.traces.parcats.attributes.tickfont.size
Size types.NumberType `json:"size,omitempty"`
}
// ParcatsTransform WARNING: All transforms are deprecated and may be removed from the API in next major version. An array of operations that manipulate the trace data, for example filtering or sorting the data arrays.
type ParcatsTransform struct {
}
// ParcatsArrangement Sets the drag interaction mode for categories and dimensions. If `perpendicular`, the categories can only move along a line perpendicular to the paths. If `freeform`, the categories can freely move on the plane. If `fixed`, the categories and dimensions are stationary.
// .schema.traces.parcats.attributes.arrangement
type ParcatsArrangement string
const (
ParcatsArrangementPerpendicular ParcatsArrangement = "perpendicular"
ParcatsArrangementFreeform ParcatsArrangement = "freeform"
ParcatsArrangementFixed ParcatsArrangement = "fixed"
)
// ParcatsDimensionCategoryorder Specifies the ordering logic for the categories in the dimension. By default, plotly uses *trace*, which specifies the order that is present in the data supplied. Set `categoryorder` to *category ascending* or *category descending* if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.
// .schema.traces.parcats.attributes.dimensions.items.dimension.categoryorder
type ParcatsDimensionCategoryorder string
const (
ParcatsDimensionCategoryorderTrace ParcatsDimensionCategoryorder = "trace"
ParcatsDimensionCategoryorderCategoryAscending ParcatsDimensionCategoryorder = "category ascending"
ParcatsDimensionCategoryorderCategoryDescending ParcatsDimensionCategoryorder = "category descending"
ParcatsDimensionCategoryorderArray ParcatsDimensionCategoryorder = "array"
)
// ParcatsHoveron Sets the hover interaction mode for the parcats diagram. If `category`, hover interaction take place per category. If `color`, hover interactions take place per color per category. If `dimension`, hover interactions take place across all categories per dimension.
// .schema.traces.parcats.attributes.hoveron
type ParcatsHoveron string
const (
ParcatsHoveronCategory ParcatsHoveron = "category"
ParcatsHoveronColor ParcatsHoveron = "color"